Skip to content

Commit 449f9fa

Browse files
committed
Make linter happy
1 parent 9e1bced commit 449f9fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

acorn/src/state.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export class Parser {
6464

6565
// Figure out if it's a module code.
6666
this.inModule = options.sourceType === "module"
67-
this.strict = this.inModule || options.strict == true || this.strictDirective(this.pos)
67+
this.strict = this.inModule || options.strict === true || this.strictDirective(this.pos)
6868

6969
// Used to signify the start of a potential arrow function
7070
this.potentialArrowAt = -1

0 commit comments

Comments
 (0)