Skip to content

Commit

Permalink
build: more (maybe)
Browse files Browse the repository at this point in the history
  • Loading branch information
ice1000 committed May 29, 2024
1 parent 5acce20 commit dea6aee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 0 additions & 3 deletions bors.toml

This file was deleted.

5 changes: 3 additions & 2 deletions src/find.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ export async function findAya(): Promise<string | null> {
}

let lspLoadPath = config.get<string>("lsp.path");
if (lspLoadPath && fs.existsSync(lspLoadPath)) {
return lspLoadPath;
if (lspLoadPath) {
if (fs.existsSync(lspLoadPath)) return lspLoadPath;
else await vscode.window.showWarningMessage(`The configured lsp path does not exist: ${lspLoadPath}`);
}

const sysPath = process.env['PATH'];
Expand Down

0 comments on commit dea6aee

Please sign in to comment.