Skip to content

Commit

Permalink
Fix #4376 Bind lw.external.stat to vscode.workspace.fs
Browse files Browse the repository at this point in the history
  • Loading branch information
James-Yu committed Sep 12, 2024
1 parent 45ce772 commit 33e38a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lw.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const lw = {
external: {
spawn: wrapper(cs.spawn),
sync: wrapper(cs.sync),
stat: wrapper(vscode.workspace.fs.stat),
stat: wrapper(vscode.workspace.fs.stat.bind(vscode.workspace.fs)),
mkdirSync: wrapper(fs.mkdirSync),
chmodSync: wrapper(fs.chmodSync)
},
Expand Down

0 comments on commit 33e38a9

Please sign in to comment.