Remove accidental spaces from error message string

This commit is contained in:
Robert
2023-01-30 16:23:35 +00:00
parent 72c8e0bcb6
commit 2f573aba0c

View File

@@ -93,9 +93,9 @@ export async function resolveQueries(
const keyTypeTag = tagOfKeyType(keyType); const keyTypeTag = tagOfKeyType(keyType);
const joinedPacksToSearch = packsToSearch.join(", "); const joinedPacksToSearch = packsToSearch.join(", ");
const error = redactableError`No ${keyTypeName} queries (tagged "${keyTypeTag}") could be found in the \ const error = redactableError`No ${keyTypeName} queries (tagged "${keyTypeTag}") could be found in the \
current library path (tried searching the following packs: ${joinedPacksToSearch}). \ current library path (tried searching the following packs: ${joinedPacksToSearch}). \
Try upgrading the CodeQL libraries. If that doesn't work, then ${keyTypeName} queries are not yet available \ Try upgrading the CodeQL libraries. If that doesn't work, then ${keyTypeName} queries are not yet available \
for this language.`; for this language.`;
void showAndLogExceptionWithTelemetry(error); void showAndLogExceptionWithTelemetry(error);
throw error; throw error;