Show all found locations in output log

This commit is contained in:
Koen Vlaswinkel
2023-04-12 08:50:51 +02:00
parent 2053b5db2f
commit 649a47d966

View File

@@ -39,6 +39,13 @@ export async function pickExtensionPack(
if (extensionPackPaths.length !== 1) {
void showAndLogErrorMessage(
`Extension pack ${extensionPackOption.extensionPack} could not be resolved to a single location`,
{
fullMessage: `Extension pack ${
extensionPackOption.extensionPack
} could not be resolved to a single location. Found ${
extensionPackPaths.length
} locations: ${extensionPackPaths.join(", ")}.`,
},
);
return undefined;
}