diff options
author | Richard Lau <riclau@uk.ibm.com> | 2020-08-26 16:56:55 +0300 |
---|---|---|
committer | Myles Borins <mylesborins@github.com> | 2020-08-26 19:48:06 +0300 |
commit | cc39bdf72442aa7800d20c9a832b3aa0a069acdf (patch) | |
tree | c5217bbcc0c13b5d8d707217430afc39471ba18b /src | |
parent | 4332f738326d9a067d859ef86e78fadeb95f1b2c (diff) |
module: drop `-u` alias for `--conditions`
Old versions of mocha break after https://github.com/nodejs/node/pull/34637.
This was a bug in mocha, but since this is a widely used module
we can expect ecosystem breakage until modules are updated to
the latest version of mocha. Drop the conflicting `-u` alias --
we can potentially bring it back once modules have been updated.
PR-URL: https://github.com/nodejs/node/pull/34935
Refs: https://github.com/mochajs/mocha/issues/4417
Refs: https://github.com/nodejs/node/pull/34637
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Jan Krems <jan.krems@gmail.com>
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Shelley Vohr <codebytere@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/node_options.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/node_options.cc b/src/node_options.cc index d3fdc459de1..671cdc591e0 100644 --- a/src/node_options.cc +++ b/src/node_options.cc @@ -285,7 +285,6 @@ EnvironmentOptionsParser::EnvironmentOptionsParser() { "additional user conditions for conditional exports and imports", &EnvironmentOptions::conditions, kAllowedInEnvironment); - AddAlias("-u", "--conditions"); AddOption("--diagnostic-dir", "set dir for all output files" " (default: current working directory)", |