Skip to content

Commit 92c01a5

Browse files
committed
fix: bug where initialised file would not open
1 parent f092226 commit 92c01a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/taskfile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ class TaskfileService {
136136
let filename = path.join(dir, filenames[i]);
137137
if (fs.existsSync(filename)) {
138138
log.info(`Opening taskfile: "${filename}"`);
139-
await vscode.commands.executeCommand('vscode.open', vscode.Uri.parse(filename), { preview: false });
139+
await vscode.commands.executeCommand('vscode.open', vscode.Uri.file(filename), { preview: false });
140140
return;
141141
}
142142
}

0 commit comments

Comments
 (0)