Skip to content

Commit

Permalink
asdf
Browse files Browse the repository at this point in the history
  • Loading branch information
DetachHead committed Dec 14, 2024
1 parent 33d9104 commit 0d7f5ff
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/pyright-internal/src/pyright.ts
Original file line number Diff line number Diff line change
Expand Up @@ -580,8 +580,10 @@ async function runSingleThreaded(
}

if (checkForErrors(exitStatus, results.configParseErrorOccurred, output)) {
const errors = console instanceof StandardConsole ? console.errors.join('\n') : 'no errors????';
console.error(`singlethreaded config parse error occurred: ${errors}`);
const errors = output instanceof StandardConsole ? output.errors.join('\n') : 'no errors????';
output.error(
`singlethreaded config parse error: ${results.configParseErrorOccurred}\nother errors:${errors}`
);
return;
}

Expand Down

0 comments on commit 0d7f5ff

Please sign in to comment.