Skip to content

Commit b76989c

Browse files
adrian-ludwigboneskull
authored andcommitted
Add --icu-data-dir flag for node (#2248)
1 parent 5e1439d commit b76989c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

bin/_mocha

+1
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ program
8383
.option('--globals <names>', 'allow the given comma-delimited global [names]', list, [])
8484
.option('--es_staging', 'enable all staged features')
8585
.option('--harmony<_classes,_generators,...>', 'all node --harmony* flags are available')
86+
.option('--icu-data-dir', 'include ICU data')
8687
.option('--inline-diffs', 'display actual/expected differences inline within each string')
8788
.option('--interfaces', 'display available interfaces')
8889
.option('--no-deprecation', 'silence deprecation warnings')

bin/mocha

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ process.argv.slice(2).forEach(function(arg){
4848
default:
4949
if (0 == arg.indexOf('--harmony')) args.unshift(arg);
5050
else if (0 == arg.indexOf('--trace')) args.unshift(arg);
51+
else if (0 == arg.indexOf('--icu-data-dir')) args.unshift(arg);
5152
else if (0 == arg.indexOf('--max-old-space-size')) args.unshift(arg);
5253
else args.push(arg);
5354
break;

0 commit comments

Comments
 (0)