Skip to content

Commit 6e58b71

Browse files
authored
doc: fix small logic error in DETECT_MODULE_SYNTAX
1 parent 7cf2dad commit 6e58b71

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)