We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2995f6 commit 4e09f10Copy full SHA for 4e09f10
1 file changed
lib/node_modules/@stdlib/process/cwd/benchmark/benchmark.js
@@ -23,10 +23,9 @@ bench( pkg, function benchmark( b ) {
23
}
24
25
b.toc();
26
- if ( isString( dir ) ) {
27
- b.pass( 'benchmark finished' );
28
- } else {
+ if ( !isString( dir ) ) {
29
b.fail( 'should return a string' );
30
+ b.pass( 'benchmark finished' );
31
b.end();
32
});
0 commit comments