File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,9 @@ export class AtelierAPI {
122
122
namespace = parts [ 1 ] ;
123
123
} else {
124
124
const { ns } = isfsConfig ( wsOrFile ) ;
125
- if ( ns ) namespace = ns ;
125
+ if ( ns ) {
126
+ namespace = ns ;
127
+ }
126
128
}
127
129
} else {
128
130
const wsFolderOfFile = vscode . workspace . getWorkspaceFolder ( wsOrFile ) ;
Original file line number Diff line number Diff line change @@ -245,7 +245,7 @@ export class DocumentContentProvider implements vscode.TextDocumentContentProvid
245
245
246
246
public async provideTextDocumentContent ( uri : vscode . Uri , token : vscode . CancellationToken ) : Promise < string > {
247
247
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"
249
249
const { csp, ns } = isfsConfig ( uri ) ;
250
250
const fileName = csp ? uri . path . slice ( 1 ) : uri . path . split ( "/" ) . slice ( 1 ) . join ( "." ) ;
251
251
if ( ns ) api . setNamespace ( ns ) ;
You can’t perform that action at this time.
0 commit comments