We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a999e5e commit 36a479cCopy full SHA for 36a479c
src/utils/index.ts
@@ -637,7 +637,7 @@ export async function addWsServerRootFolderData(uri: vscode.Uri): Promise<void>
637
// A CSP-type root folder for a specific webapp that already has a .vscode/settings.json file must not redirect .vscode/* references
638
const api = new AtelierAPI(uri);
639
api
640
- .headDoc(`${uri.path}/.vscode/settings.json`)
+ .headDoc(`${uri.path}${!uri.path.endsWith("/") ? "/" : ""}.vscode/settings.json`)
641
.then(() => {
642
value.redirectDotvscode = false;
643
})
0 commit comments