diff --git a/index.js b/index.js index ba7941e..10119e4 100644 --- a/index.js +++ b/index.js @@ -159,7 +159,7 @@ function __init__() { let folders = vsc.workspace.workspaceFolders if (folders && folders.length) { - options.workspace = folders[0].uri.path + options.workspace = folders[0].uri.fsPath } if (options.workspace) { diff --git a/package.json b/package.json index 89d35ea..4fe13f7 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "auto-path", "displayName": "auto-path", "description": "🔥 自动提示文件路径, 方便引入项目为的文件", - "version": "1.1.1", + "version": "1.1.2", "publisher": "yutent", "author": "Yutent [@yutent]", "icon": "logo.png",