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

Commit

Permalink
Fix invocation of Linter.createProgram() to use full tsconfig path [see
Browse files Browse the repository at this point in the history
  • Loading branch information
smhxx authored and Xapphire13 committed Sep 24, 2017
1 parent f57cde2 commit 234f37a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ async function getProgram(Linter, configurationPath) {
try {
const stats = await stat(tsconfigPath);
if (stats.isFile()) {
program = Linter.createProgram('tsconfig.json', configurationDir);
program = Linter.createProgram(tsconfigPath, configurationDir);
}
} catch (err) {
// no-op
Expand Down

0 comments on commit 234f37a

Please sign in to comment.