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

Commit 9f41379

Browse files
committed
fix: fix is required in ILintOptions
1 parent f3541b4 commit 9f41379

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/worker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ export default async function TsLintWorker(initialConfig: ConfigSchema) {
269269
const {
270270
emitKey, jobType, content, filePath,
271271
} = message.message;
272-
const options = jobType === 'fix' ? { fix: true } : {};
272+
const options = jobType === 'fix' ? { fix: true } : { fix: false };
273273

274274
const results = await lint(content, filePath, options);
275275
emit(emitKey, results);

0 commit comments

Comments
 (0)