Commit e457ec0
lib: fix checking syntax of esm module
Fixes: #41189
PR-URL: #41198
Refs: #37468
Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>1 parent d83a029 commit e457ec0Copy full SHA for e457ec0
File tree
Expand file treeCollapse file tree
3 files changed
+5
-1
lines changedOpen diff view settings
Filter options
- lib/internal/main
- test
- fixtures/syntax
- sequential
Expand file treeCollapse file tree
3 files changed
+5
-1
lines changedOpen diff view settings
Collapse file
lib/internal/main/check_syntax.js
Copy file name to clipboardExpand all lines: lib/internal/main/check_syntax.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
54 | 54 | |
55 | 55 | |
56 | 56 | |
57 | | - |
| 57 | + |
58 | 58 | |
59 | 59 | |
60 | 60 | |
|
Collapse file
test/fixtures/syntax/good_syntax.mjs
Copy file name to clipboard+3Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
Collapse file
test/sequential/test-cli-syntax-good.js
Copy file name to clipboardExpand all lines: test/sequential/test-cli-syntax-good.js+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
17 | 17 | |
18 | 18 | |
19 | 19 | |
| 20 | + |
20 | 21 | |
21 | 22 | |
22 | 23 | |
|
0 commit comments