Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.

Commit d4ddfee

Browse files
committed
fix: fix if
1 parent 296c263 commit d4ddfee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ class LinterESLintNode {
257257
projectPath
258258
});
259259
} catch (err) {
260-
if (err.name = 'InvalidWorkerError') {
260+
if (err.name === 'InvalidWorkerError') {
261261
// Worker script can't run. Fill in some dummy values here.
262262
response = {
263263
eslintPath: '(unknown)',

0 commit comments

Comments
 (0)