File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -491,7 +491,7 @@ export class StudioActions {
491
491
return this . api
492
492
. actionQuery ( "SELECT %Atelier_v1_Utils.Extension_ExtensionEnabled() AS Enabled" , [ ] )
493
493
. then ( ( data ) => data . result . content )
494
- . then ( ( content ) => ( content && content . length ? content [ 0 ] ?. Enabled ?? false : false ) )
494
+ . then ( ( content ) => ( content && content . length ? ( content [ 0 ] ?. Enabled ?? false ) : false ) )
495
495
. catch ( ( ) => false ) ; // Treat any errors as "no source control"
496
496
}
497
497
Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ async function updateIndexAndSyncChanges(
193
193
/** Get all `Uri`s for `document` in `wsFolder` */
194
194
export function getUrisForDocument ( document : string , wsFolder : vscode . WorkspaceFolder ) : vscode . Uri [ ] {
195
195
const index = wsFolderIndex . get ( wsFolder . uri . toString ( ) ) ;
196
- return index ? index . documents . get ( document ) ?? [ ] : [ ] ;
196
+ return index ? ( index . documents . get ( document ) ?? [ ] ) : [ ] ;
197
197
}
198
198
199
199
/** Clean up all `FileSystemWatcher`s */
You can’t perform that action at this time.
0 commit comments