Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit53dde7a

Browse files
committed
fix the Workspace path issue
Signed-off-by: argemiront <argemiront@gmail.com>
1 parentf29d40d commit53dde7a

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

‎src/services/workspace/index.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,5 @@ export const getWorkspaceRoot = (): string => {
3131
// for simplicity, assume the first is the active workspace
3232
constworkspaceRoot:vscode.WorkspaceFolder=workspaceRoots[0]
3333

34-
// Remove leading / on windows machines. Temp solution
35-
if(env.OS_PLATFORM==='win32'){
36-
returnworkspaceRoot.uri.path.substr(1)
37-
}
38-
39-
returnworkspaceRoot.uri.path
34+
returnworkspaceRoot.uri.fsPath
4035
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp