Skip to content

Commit

Permalink
add undefined workspace get sdkconfig file validation
Browse files Browse the repository at this point in the history
  • Loading branch information
brianignacio5 committed Aug 21, 2024
1 parent 9451584 commit c4d6eeb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,9 @@ export async function getSDKConfigFilePath(workspacePath: vscode.Uri) {
workspacePath
) as string;
}
if (!workspacePath) {
return;
}
if (!sdkconfigFilePath) {
sdkconfigFilePath = path.join(workspacePath.fsPath, "sdkconfig");
}
Expand Down

0 comments on commit c4d6eeb

Please sign in to comment.