We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
objectscript://
1 parent f0e8c0b commit 980ffb8Copy full SHA for 980ffb8
src/commands/compile.ts
@@ -138,7 +138,7 @@ export async function importFile(
138
undefined,
139
true
140
);
141
- documentContentProvider.update(serverUri.with({ scheme: OBJECTSCRIPT_FILE_SCHEMA }));
+ if (serverUri) documentContentProvider.update(serverUri);
142
})
143
.catch((error) => {
144
if (error?.statusCode == 409) {
src/providers/DocumentContentProvider.ts
@@ -257,7 +257,7 @@ export class DocumentContentProvider implements vscode.TextDocumentContentProvid
257
}
258
259
260
- public update(uri: vscode.Uri, message?: string): void {
+ public update(uri: vscode.Uri): void {
261
this.onDidChangeEvent.fire(uri);
262
263
0 commit comments