Skip to content

Commit

Permalink
Merge pull request #33 from nx10/fix-windows
Browse files Browse the repository at this point in the history
Fix paths on windows
  • Loading branch information
anibalsolon authored Nov 10, 2022
2 parents a06e0af + e239c8d commit 44d0924
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extension/document.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class NiftiDocument extends Disposable implements vscode.CustomDocument {
super();
this._uri = uri;
this._uuid = v4();
this._fd = fd || fs.openSync(uri.path, 'r');
this._fd = fd || fs.openSync(uri.fsPath, 'r');
}

public get uri() { return this._uri; }
Expand Down

0 comments on commit 44d0924

Please sign in to comment.