diff --git a/extension/client/src/linter.ts b/extension/client/src/linter.ts index 2f25251d..277979a6 100644 --- a/extension/client/src/linter.ts +++ b/extension/client/src/linter.ts @@ -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; }