on master help sign in
Fix executable path when testing if ormolu is installed
2a61125Felix Leitz
src/extension.ts+1−1
@@ -16,7 +16,7 @@ export function activate(context: vscode.ExtensionContext) {
16 };
16 };
17
17
18 try {
18 try {
19− proc.execSync('ormolu --help');
19+ proc.execSync(cfg.executablePath + ' --help');
20 } catch (e) {
20 } catch (e) {
21 return showErrorMessage("Ormolu is not installed", e);
21 return showErrorMessage("Ormolu is not installed", e);
22 }
22 }