on master help sign in
Fix executable path when testing if ormolu is installed
commit2a611256ea74473ff9e5126c88b649014041a3b2 authorFelix Leitz <felix.leitz92@gmail.com> dateWed 16 Mar 2022, 17:21 (5 years ago) parent51a44ed
1 file changed+1−1
src/extension.ts+1−1
src/extension.ts+1−1
@@ -16,7 +16,7 @@ export function activate(context: vscode.ExtensionContext) {
1616 };
1717
1818 try {
19− proc.execSync('ormolu --help');
19+ proc.execSync(cfg.executablePath + ' --help');
2020 } catch (e) {
2121 return showErrorMessage("Ormolu is not installed", e);
2222 }