mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Fix insight widgets not displaying (#20037)
This commit is contained in:
@@ -34,7 +34,7 @@ export async function resolveQueryFilePath(services: ServicesAccessor, filePath?
|
|||||||
let workspaceFolders: IWorkspaceFolder[] = workspaceContextService.getWorkspace().folders;
|
let workspaceFolders: IWorkspaceFolder[] = workspaceContextService.getWorkspace().folders;
|
||||||
// Resolve the path using each folder in our workspace, or undefined if there aren't any
|
// Resolve the path using each folder in our workspace, or undefined if there aren't any
|
||||||
// (so that non-folder vars such as environment vars still resolve)
|
// (so that non-folder vars such as environment vars still resolve)
|
||||||
const isRemote = fileService.canHandleResource(URI.from({ scheme: Schemas.vscodeRemote }));
|
const isRemote = await fileService.canHandleResource(URI.from({ scheme: Schemas.vscodeRemote }));
|
||||||
let resolvedFileUriPromises = (workspaceFolders.length > 0 ? workspaceFolders : [undefined])
|
let resolvedFileUriPromises = (workspaceFolders.length > 0 ? workspaceFolders : [undefined])
|
||||||
.map(async f => {
|
.map(async f => {
|
||||||
const resolvedUri = await configurationResolverService.resolveAsync(f, filePath);
|
const resolvedUri = await configurationResolverService.resolveAsync(f, filePath);
|
||||||
|
|||||||
Reference in New Issue
Block a user