8000 feat: use fsPath for cross-platform compatibility (#17) · githubocto/flat-editor@04158a7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 04158a7

Browse files
feat: use fsPath for cross-platform compatibility (#17)
1 parent 9c85a77 commit 04158a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export async function activate(context: vscode.ExtensionContext) {
6161
}
6262
rootPath = folders[0]
6363

64-
const workflowsDir = path.join(rootPath.uri.path, '.github/workflows')
64+
const workflowsDir = path.join(rootPath.uri.fsPath, '.github/workflows')
6565
const flatYmlPath = path.join(workflowsDir, 'flat.yml')
6666

6767
if (fs.existsSync(flatYmlPath)) {

0 commit comments

Comments
 (0)
0