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 ca78ebb

Browse filesBrowse files
Renegade334richardlau
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 a28744c commit ca78ebb
Copy full SHA for ca78ebb

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
@@ -1274,7 +1274,7 @@ _isImports_, _conditions_)
12741274
> 2. If _source_ contains a top-level lexical declaration (`const`, `let`,
12751275
> or `class`) of any of the CommonJS wrapper variables (`require`,
12761276
> `exports`, `module`, `__filename`, or `__dirname`) then return **true**.
1277-
> 3. Else return **false**.
1277+
> 3. Return **false**.
12781278
12791279
### Customizing ESM specifier resolution algorithm
12801280

0 commit comments

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