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 f29d40d commit 53dde7aCopy full SHA for 53dde7a
src/services/workspace/index.ts
@@ -31,10 +31,5 @@ export const getWorkspaceRoot = (): string => {
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
+ return workspaceRoot.uri.fsPath
40
}
0 commit comments