We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05bc904 commit 0237165Copy full SHA for 0237165
packages/pyright-scip/src/main-impl.ts
@@ -22,7 +22,7 @@ function indexAction(options: IndexOptions): void {
22
const originalWorkdir = process.cwd();
23
process.chdir(projectRoot);
24
25
- const outputFile = path.join(projectRoot, options.output);
+ const outputFile = path.isAbsolute(options.output) ? options.output : path.join(originalWorkdir, options.output);
26
const output = fs.openSync(outputFile, 'w');
27
28
try {
0 commit comments