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

Commit7c278f7

Browse files
committed
change the import for Windows
Signed-off-by: argemiront <argemiront@gmail.com>
1 parentb1d32cd commit7c278f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/services/workspace/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import*asvscodefrom'vscode'
22
import*asfsfrom'fs'
33
import{promisify}from'util'
4-
import{WORKSPACE_ROOT}from'../../environment'
4+
import*asenvfrom'../../environment'
55

66
constreadDir=promisify(fs.readdir)
77

@@ -13,7 +13,7 @@ export const openWorkspace = () => {
1313
exportconstcheckWorkspaceEmpty=async()=>{
1414
letfiles
1515
try{
16-
files=awaitreadDir(WORKSPACE_ROOT)
16+
files=awaitreadDir(env.WORKSPACE_ROOT,{encoding:'utf8'})
1717
}catch(error){
1818
thrownewError('Failed to check workspace')
1919
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp