Skip to content

Commit 5ce5956

Browse files
committed
Switched to paths instead of uris.
1 parent 039ab97 commit 5ce5956

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/language/dafnyInstallation.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export class DafnyInstaller {
101101

102102
private async cleanInstallDir(): Promise<void> {
103103
const installPath = this.getInstallationPath();
104-
this.writeStatus(`deleting previous Dafny installation at ${installPath}`);
104+
this.writeStatus(`deleting previous Dafny installation at ${installPath.fsPath}`);
105105
try {
106106
await workspace.fs.delete(
107107
installPath,
@@ -143,7 +143,7 @@ export class DafnyInstaller {
143143

144144
private async extractArchive(archivePath: Uri): Promise<void> {
145145
const dirPath = this.getInstallationPath();
146-
this.writeStatus(`extracting Dafny to ${dirPath}`);
146+
this.writeStatus(`extracting Dafny to ${dirPath.fsPath}`);
147147
await extract(archivePath.fsPath, { dir: dirPath.fsPath });
148148
}
149149

0 commit comments

Comments
 (0)