Skip to content

Commit

Permalink
Use buildPath param
Browse files Browse the repository at this point in the history
  • Loading branch information
radurentea committed Nov 6, 2024
1 parent 0662805 commit 50ed043
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3678,9 +3678,12 @@ function checkAndNotifyMissingCompileCommands() {
try {
const isIdfProject = utils.checkIsProjectCmakeLists(folder.uri.fsPath);
if (isIdfProject) {
const buildDirPath = idfConf.readParameter(
"idf.buildPath",
workspaceRoot
) as string;
const compileCommandsPath = path.join(
folder.uri.fsPath,
"build",
buildDirPath,
"compile_commands.json"
);
const compileCommandsExists = await pathExists(compileCommandsPath);
Expand Down

0 comments on commit 50ed043

Please sign in to comment.