Skip to content

Commit

Permalink
Add --icu-data-dir flag for node (mochajs#2248)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrian-ludwig authored and boneskull committed May 13, 2016
1 parent 5e1439d commit b76989c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions bin/_mocha
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ program
.option('--globals <names>', 'allow the given comma-delimited global [names]', list, [])
.option('--es_staging', 'enable all staged features')
.option('--harmony<_classes,_generators,...>', 'all node --harmony* flags are available')
.option('--icu-data-dir', 'include ICU data')
.option('--inline-diffs', 'display actual/expected differences inline within each string')
.option('--interfaces', 'display available interfaces')
.option('--no-deprecation', 'silence deprecation warnings')
Expand Down
1 change: 1 addition & 0 deletions bin/mocha
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ process.argv.slice(2).forEach(function(arg){
default:
if (0 == arg.indexOf('--harmony')) args.unshift(arg);
else if (0 == arg.indexOf('--trace')) args.unshift(arg);
else if (0 == arg.indexOf('--icu-data-dir')) args.unshift(arg);
else if (0 == arg.indexOf('--max-old-space-size')) args.unshift(arg);
else args.push(arg);
break;
Expand Down

0 comments on commit b76989c

Please sign in to comment.