Fix error displayed when insights files can't be found and fix server-report insights in dev build (#18635)

* Fix error

* fix queries
This commit is contained in:
Charles Gagnon
2022-03-04 13:10:35 -08:00
committed by GitHub
parent 9e3d678536
commit 1c83aa61d7
17 changed files with 12 additions and 12 deletions

View File

@@ -56,5 +56,5 @@ export async function resolveQueryFilePath(services: ServicesAccessor, filePath?
}
}
throw Error(localize('insightsDidNotFindResolvedFile', "Could not find query file at any of the following paths :\n {0}", resolvedFileUriPromises.join('\n')));
throw Error(localize('insightsDidNotFindResolvedFile', "Could not find query file at any of the following paths :\n {0}", resolvedFileUris.map(uri => uri.fsPath).join('\n')));
}