Skip to content

Commit

Permalink
Add --preserve-symlinks flag for node (#2364)
Browse files Browse the repository at this point in the history
  • Loading branch information
rosswarren authored and boneskull committed Jul 9, 2016
1 parent 58ced06 commit 8187361
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions bin/_mocha
Expand Up @@ -84,6 +84,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('--preserve-symlinks', 'Instructs the module loader to preserve symbolic links when resolving and caching modules')
.option('--icu-data-dir', 'include ICU data')
.option('--inline-diffs', 'display actual/expected differences inline within each string')
.option('--interfaces', 'display available interfaces')
Expand Down
1 change: 1 addition & 0 deletions bin/mocha
Expand Up @@ -50,6 +50,7 @@ process.argv.slice(2).forEach(function(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 if (0 == arg.indexOf('--preserve-symlinks')) args.unshift(arg);
else args.push(arg);
break;
}
Expand Down

0 comments on commit 8187361

Please sign in to comment.