Skip to content

Commit

Permalink
esm: fix typos
Browse files Browse the repository at this point in the history
PR-URL: #27067
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
GeoffreyBooth authored and BethGriggs committed Apr 4, 2019
1 parent 49337b0 commit c9350fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions doc/api/cli.md
Expand Up @@ -131,6 +131,9 @@ conjunction with native stack and other runtime environment data.
added: v6.0.0
-->

Enable FIPS-compliant crypto at startup. (Requires Node.js to be built with
`./configure --openssl-fips`.)

### `--entry-type=type`
<!-- YAML
added: REPLACEME
Expand All @@ -144,9 +147,6 @@ the file extension and the `"type"` field in the nearest parent `package.json`.

Works for executing a file as well as `--eval`, `--print`, `STDIN`.

Enable FIPS-compliant crypto at startup. (Requires Node.js to be built with
`./configure --openssl-fips`.)

### `--es-module-specifier-resolution=mode`
<!-- YAML
added: REPLACEME
Expand Down
2 changes: 1 addition & 1 deletion src/node_options.cc
Expand Up @@ -113,7 +113,7 @@ void EnvironmentOptions::CheckOptions(std::vector<std::string>* errors) {
"--experimental-modules to be enabled");
}
if (module_type != "commonjs" && module_type != "module") {
errors->push_back("--entry-type must \"module\" or \"commonjs\"");
errors->push_back("--entry-type must be \"module\" or \"commonjs\"");
}
}

Expand Down

0 comments on commit c9350fe

Please sign in to comment.