Skip to content

Commit 3a2baf7

Browse 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 5b9e3b6 commit 3a2baf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/esm.md

Lines changed: 1 addition & 1 deletion
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)