Skip to content

Commit 5e98f87

Browse files
GeoffreyBoothvsemozhetbyt
authored andcommitted
esm: fix typos
PR-URL: #27067 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Yongsheng Zhang <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Gus Caplan <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent d711b97 commit 5e98f87

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

doc/api/cli.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@ conjunction with native stack and other runtime environment data.
131131
added: v6.0.0
132132
-->
133133

134+
Enable FIPS-compliant crypto at startup. (Requires Node.js to be built with
135+
`./configure --openssl-fips`.)
136+
134137
### `--entry-type=type`
135138
<!-- YAML
136139
added: REPLACEME
@@ -144,9 +147,6 @@ the file extension and the `"type"` field in the nearest parent `package.json`.
144147

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

147-
Enable FIPS-compliant crypto at startup. (Requires Node.js to be built with
148-
`./configure --openssl-fips`.)
149-
150150
### `--es-module-specifier-resolution=mode`
151151
<!-- YAML
152152
added: REPLACEME

src/node_options.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ void EnvironmentOptions::CheckOptions(std::vector<std::string>* errors) {
113113
"--experimental-modules to be enabled");
114114
}
115115
if (module_type != "commonjs" && module_type != "module") {
116-
errors->push_back("--entry-type must \"module\" or \"commonjs\"");
116+
errors->push_back("--entry-type must be \"module\" or \"commonjs\"");
117117
}
118118
}
119119

0 commit comments

Comments
 (0)