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

Commit

Permalink
fix: fix is required in ILintOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Apr 5, 2021
1 parent f3541b4 commit 9f41379
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ export default async function TsLintWorker(initialConfig: ConfigSchema) {
const {
emitKey, jobType, content, filePath,
} = message.message;
const options = jobType === 'fix' ? { fix: true } : {};
const options = jobType === 'fix' ? { fix: true } : { fix: false };

const results = await lint(content, filePath, options);
emit(emitKey, results);
Expand Down

0 comments on commit 9f41379

Please sign in to comment.