Skip to content

Commit 35d9046

Browse files
committed
fix load idf.currentSetup
1 parent 0e1651e commit 35d9046

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/eim/loadIdfSetup.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@ export async function loadIdfSetup(workspaceFolder: Uri) {
4242
const currentIdfConfigurationName = readParameter(
4343
"idf.currentSetup",
4444
workspaceFolder
45-
);
45+
) as string;
4646

4747
let idfSetupToUse: IdfSetup;
4848
if (idfSetups.length > 0) {
4949
if (currentIdfConfigurationName) {
5050
idfSetupToUse = idfSetups.find((idfSetup) => {
51-
return (idfSetup.id = currentIdfConfigurationName);
51+
return (idfSetup.idfPath === currentIdfConfigurationName);
5252
});
5353
} else {
5454
idfSetupToUse = idfSetups[0];

0 commit comments

Comments
 (0)