Skip to content

Commit 69c57c6

Browse files
committed
fix: workspace path check
1 parent 4b45751 commit 69c57c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export async function postPull(input: Post | PostTreeItem | Uri | undefined | nu
2121
if (
2222
path === undefined ||
2323
!(await fsUtil.exists(path)) ||
24-
path.indexOf(WorkspaceCfg.getWorkspaceUri().path) < 0
24+
path.indexOf(WorkspaceCfg.getWorkspaceUri().fsPath) < 0
2525
) {
2626
isFreshPull = true
2727
const uri = buildLocalPostFileUri(post, false)

0 commit comments

Comments
 (0)