Skip to content

Commit cf300ec

Browse files
committed
Merge branch 'server-side' of https://github.com/isc-bsaviano/vscode-objectscript into server-side
2 parents 2e8d972 + 30d4a41 commit cf300ec

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/api/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,9 @@ export class AtelierAPI {
122122
namespace = parts[1];
123123
} else {
124124
const { ns } = isfsConfig(wsOrFile);
125-
if (ns) namespace = ns;
125+
if (ns) {
126+
namespace = ns;
127+
}
126128
}
127129
} else {
128130
const wsFolderOfFile = vscode.workspace.getWorkspaceFolder(wsOrFile);

src/providers/DocumentContentProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ export class DocumentContentProvider implements vscode.TextDocumentContentProvid
245245

246246
public async provideTextDocumentContent(uri: vscode.Uri, token: vscode.CancellationToken): Promise<string> {
247247
const api = new AtelierAPI(uri);
248-
// Even though this is technically a "objectscript" Uri, the query parameters are the same as "isfs"
248+
// Even though this is technically an "objectscript" Uri, the query parameters are the same as "isfs"
249249
const { csp, ns } = isfsConfig(uri);
250250
const fileName = csp ? uri.path.slice(1) : uri.path.split("/").slice(1).join(".");
251251
if (ns) api.setNamespace(ns);

0 commit comments

Comments
 (0)