Skip to content

Commit

Permalink
use relative path
Browse files Browse the repository at this point in the history
  • Loading branch information
benoitf committed Mar 19, 2019
1 parent 84ebb00 commit c355f3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/grab-theia-versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export class GrabTheiaVersions {
const url = GrabTheiaVersions.THEIA_URL_PATTERN.replace('${VERSION}', version);
const content = await this.content.get(url);
await fs.writeFile(filePath, content);
const paths = [path.resolve('conf', 'vscode-theia.d.ts'), filePath];
const paths = [path.resolve(__dirname, '../conf', 'vscode-theia.d.ts'), filePath];
const entry: ScannerEntry = { paths, version };
return entry;
}));
Expand Down

0 comments on commit c355f3c

Please sign in to comment.