Thanks to visit codestin.com Credit goes to github.com
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 454ea9d commit f29d40dCopy full SHA for f29d40d
src/services/workspace/index.ts
@@ -30,5 +30,11 @@ export const getWorkspaceRoot = (): string => {
30
// a user may have multiple workspace folders
31
// for simplicity, assume the first is the active workspace
32
const workspaceRoot: vscode.WorkspaceFolder = workspaceRoots[0]
33
+
34
+ // Remove leading / on windows machines. Temp solution
35
+ if (env.OS_PLATFORM === 'win32') {
36
+ return workspaceRoot.uri.path.substr(1)
37
+ }
38
39
return workspaceRoot.uri.path
40
}
0 commit comments