Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 12e413e

Browse files
authored
benchmark: do not skip failing require calls (#6520)
Instead, just fail so that the entry will be removed from the list.
1 parent e513eef commit 12e413e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

benchmark/sirun/startup/startup-test.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,6 @@ if (Number(process.env.EVERYTHING)) {
8181
'yarn-deduplicate'
8282
]
8383
for (const pkg of packages) {
84-
try {
85-
require(pkg)
86-
} catch {}
84+
require(pkg)
8785
}
8886
}

0 commit comments

Comments
 (0)