Skip to content

Commit 6bb10da

Browse files
committed
fix: workspace path check in post-pull-all
1 parent 69c57c6 commit 6bb10da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmd/post-list/post-pull-all.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export async function postPullAll() {
7171
if (
7272
path === undefined ||
7373
!(await fsUtil.exists(path)) ||
74-
path.indexOf(WorkspaceCfg.getWorkspaceUri().path) < 0
74+
path.indexOf(WorkspaceCfg.getWorkspaceUri().fsPath) < 0
7575
) {
7676
const uri = buildLocalPostFileUri(post, false)
7777
const buf = Buffer.from(post.postBody)

0 commit comments

Comments
 (0)