Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4bd8e0e

Browse filesBrowse files
tniessennodejs-github-bot
authored andcommitted
doc: fix typo in ESM example
Refs: #37468 PR-URL: #40275 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Zijian Liu <lxxyxzj@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 2a3a9b8 commit 4bd8e0e
Copy full SHA for 4bd8e0e

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎doc/api/esm.md‎

Copy file name to clipboardExpand all lines: doc/api/esm.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -979,7 +979,7 @@ async function getPackageType(url) {
979979
// Compose a file path to a package.json in the same directory,
980980
// which may or may not exist
981981
const packagePath = resolvePath(dir, 'package.json');
982-
// Try to read the possibly non-existant package.json
982+
// Try to read the possibly nonexistent package.json
983983
const type = await readFile(packagePath, { encoding: 'utf8' })
984984
.then((filestring) => JSON.parse(filestring).type)
985985
.catch((err) => {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.