Skip to content

Commit 03cf8c1

Browse files
committed
fix #535 import into the correct namespace
1 parent 2bd0f26 commit 03cf8c1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/api/index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,11 @@ export class AtelierAPI {
112112
}
113113
}
114114
}
115+
} else {
116+
const wsFolderOfFile = vscode.workspace.getWorkspaceFolder(wsOrFile);
117+
if (wsFolderOfFile) {
118+
workspaceFolderName = wsFolderOfFile.name;
119+
}
115120
}
116121
} else {
117122
workspaceFolderName = wsOrFile;

0 commit comments

Comments
 (0)