diff --git a/src/sql/parts/notebook/notebook.component.ts b/src/sql/parts/notebook/notebook.component.ts index 86cb4248dd..b73610379d 100644 --- a/src/sql/parts/notebook/notebook.component.ts +++ b/src/sql/parts/notebook/notebook.component.ts @@ -405,7 +405,7 @@ export class NotebookComponent extends AngularDisposable implements OnInit, OnDe let dialogPath = this.getLastActiveFilePath(notebookUri); return this.promptForPath(dialogPath).then(path => { if (path) { - let target = URI.parse(path); + let target = URI.file(path); let resource = self._model.notebookUri; self._model.notebookUri = target; this.saveNotebook().then(result => {