Skip to content

Commit 5ee4f75

Browse files
committed
Merge pull request #130 from bramp/max-blocking-duration
Added parsing of the maxBlockDuration config from the command line.
2 parents 6ba2337 + 2655953 commit 5ee4f75

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

bin/cli.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ help = ''
2020
+ '\n -d, --deps dependency paths - files required before code (space separated)'
2121
+ '\n -l, --log logging options, json have to be used'
2222
+ '\n --cov create tests coverage report'
23+
+ '\n --timeout max block duration (in ms)'
2324
+ '\n -h, --help show this help'
2425
+ '\n -v, --version show module version'
2526
+ '\n';
@@ -84,6 +85,9 @@ for (var key in args) {
8485
case '--paths':
8586
o.paths = args[key];
8687
break;
88+
case '--timeout':
89+
o.maxBlockDuration = args[key];
90+
break;
8791
case '-v':
8892
case '--version':
8993
util.print(

0 commit comments

Comments
 (0)