Skip to content

Commit

Permalink
Fix file path handling when starting the debugger on Windows file sys…
Browse files Browse the repository at this point in the history
…tem (#737)

* Fix file path handling in Windows file system

Signed-off-by: Atsuo INOUE <at6ue@outlook.jp>

* bumped to 0.0.22

Signed-off-by: Atsuo INOUE <at6ue@outlook.jp>
  • Loading branch information
at6ue committed Sep 16, 2021
1 parent a57b65f commit 8e9b77d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -8,7 +8,7 @@
"description": "Gauge support for VScode.",
"author": "ThoughtWorks",
"license": "MIT",
"version": "0.0.21",
"version": "0.0.22",
"publisher": "getgauge",
"engines": {
"vscode": "^1.59.0"
Expand Down
2 changes: 1 addition & 1 deletion src/execution/debug.ts
Expand Up @@ -136,7 +136,7 @@ export class GaugeDebugger {
public startDebugger() {
return new Promise((res, rej) => {
const root = this.config.getProject().root();
const folder = workspace.getWorkspaceFolder(Uri.parse(root));
const folder = workspace.getWorkspaceFolder(Uri.file(root));
if (!folder) {
throw new Error(`The debugger does not work for a stand alone file. Please open the folder ${root}.`);
}
Expand Down

0 comments on commit 8e9b77d

Please sign in to comment.