Skip to content

Commit

Permalink
Fix file path handling for reports on Windows (#742)
Browse files Browse the repository at this point in the history
* The report path should be a file path

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

* Bumped to 0.0.23

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

Co-authored-by: Srikanth <srikanth.ddit@gmail.com>
  • Loading branch information
at6ue and sriv authored Sep 22, 2021
1 parent 21cf2a1 commit a7e3ce9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"description": "Gauge support for VScode.",
"author": "ThoughtWorks",
"license": "MIT",
"version": "0.0.22",
"version": "0.0.23",
"publisher": "getgauge",
"engines": {
"vscode": "^1.60.0"
Expand Down
8 changes: 4 additions & 4 deletions src/execution/gaugeExecutor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -347,10 +347,10 @@ export class GaugeExecutor extends Disposable {
}

private openReport() {
return env.openExternal(Uri.parse(this.gaugeWorkspace.getReportPath())).then(
() => { }, (err) => {
window.showErrorMessage("Can't open html report. " + err);
});
return env.openExternal(Uri.file(this.gaugeWorkspace.getReportPath())).then(
() => { }, (err) => {
window.showErrorMessage("Can't open html report. " + err);
});
}

private registerStopExecution() {
Expand Down

0 comments on commit a7e3ce9

Please sign in to comment.