diff --git a/src/cmd/post-list/post-pull-all.ts b/src/cmd/post-list/post-pull-all.ts index f88963ca..0d93796d 100644 --- a/src/cmd/post-list/post-pull-all.ts +++ b/src/cmd/post-list/post-pull-all.ts @@ -71,7 +71,7 @@ export async function postPullAll() { if ( path === undefined || !(await fsUtil.exists(path)) || - path.indexOf(WorkspaceCfg.getWorkspaceUri().path) < 0 + path.indexOf(WorkspaceCfg.getWorkspaceUri().fsPath) < 0 ) { const uri = buildLocalPostFileUri(post, false) const buf = Buffer.from(post.postBody)