Skip to content

Commit ca78ebb

Browse files
Renegade334richardlau
authored andcommitted
doc: fix small logic error in DETECT_MODULE_SYNTAX
PR-URL: #62025 Reviewed-By: Jacob Smith <[email protected]> Reviewed-By: Marco Ippolito <[email protected]> Reviewed-By: Zijian Liu <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
1 parent a28744c commit ca78ebb

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
@@ -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)