Skip to content

Commit 5e98f87

Browse files
GeoffreyBoothvsemozhetbyt
authored andcommittedApr 3, 2019
esm: fix typos
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>
1 parent d711b97 commit 5e98f87

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
 

Diff for: ‎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

Diff for: ‎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)
Please sign in to comment.