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 191c433

Browse filesBrowse files
Renegade334aduh95
authored andcommitted
doc: fix small logic error in DETECT_MODULE_SYNTAX
PR-URL: #62025 Reviewed-By: Jacob Smith <jacob@frende.me> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Zijian Liu <lxxyxzj@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com>
1 parent 492868a commit 191c433
Copy full SHA for 191c433

1 file changed

+1-1Lines changed: 1 addition & 1 deletion

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
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
@@ -1263,7 +1263,7 @@ _isImports_, _conditions_)
12631263
> 2. If _source_ contains a top-level lexical declaration (`const`, `let`,
12641264
> or `class`) of any of the CommonJS wrapper variables (`require`,
12651265
> `exports`, `module`, `__filename`, or `__dirname`) then return **true**.
1266-
> 3. Else return **false**.
1266+
> 3. Return **false**.
12671267
12681268
### Customizing ESM specifier resolution algorithm
12691269

0 commit comments

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