Skip to content

Commit

Permalink
Replace custom test command with API call
Browse files Browse the repository at this point in the history
  • Loading branch information
worksofliam committed Jan 30, 2024
1 parent 223bdcf commit a044491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extension/client/src/linter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export function initialise(context: ExtensionContext) {
const config = instance.getConfig();
if (config.homeDirectory) {
configPath = path.posix.join(config.homeDirectory, `.vscode`, `rpglint.json`)
exists = (await connection.sendCommand({ command: `test -e ${configPath}` })).code === 0;
exists = await content.testStreamFile(configPath, `r`);
}
break;
}
Expand Down

0 comments on commit a044491

Please sign in to comment.