Fix --root-mode option in babel-node (#9148)

This commit is contained in:
Nicolò Ribaudo 2018-12-07 22:47:56 +01:00 committed by GitHub
parent 4fdb71151f
commit 9b005dedfd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,7 +52,7 @@ program.option(
"The name of the 'env' to use when loading configs and plugins. " +
"Defaults to the value of BABEL_ENV, or else NODE_ENV, or else 'development'.",
);
commander.option(
program.option(
"--root-mode [mode]",
"The project-root resolution mode. " +
"One of 'root' (the default), 'upward', or 'upward-optional'.",