Skip to content

Commit

Permalink
add execPath as config variable (#1003)
Browse files Browse the repository at this point in the history
  • Loading branch information
brianignacio5 authored Jul 13, 2023
1 parent f60ff49 commit 7a224cc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/idfConfiguration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,9 @@ export function resolveVariables(
if (scope && match.indexOf("workspaceFolder") > 0) {
return scope instanceof vscode.Uri ? scope.fsPath : scope.uri.fsPath;
}
if (match.indexOf("execPath") > 0) {
return process.execPath;
}
return match;
});
}

0 comments on commit 7a224cc

Please sign in to comment.