Skip to content

Commit

Permalink
fix: find nargo in path if nargoPath is blank (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
asterite authored Feb 4, 2025
1 parent 1fde58d commit 73b684a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/find-nargo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export default function findNargo() {
export function getNargoPath(uri: Uri | undefined = undefined): string {
const config = workspace.getConfiguration('noir', uri);
let nargoPath = config.get<string | undefined>('nargoPath');
if (nargoPath === undefined) {
if (nargoPath === undefined || nargoPath.trim().length == 0) {
return findNargo();
}

Expand Down

0 comments on commit 73b684a

Please sign in to comment.