We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f21bc20 commit 2459fafCopy full SHA for 2459faf
packages/host/src/node/path-utils.ts
@@ -425,7 +425,10 @@ export function determineLibraryBasename(libraryPaths: string[]) {
425
path.basename(p, path.extname(p)).replace(/^lib/, "")
426
);
427
const candidates = new Set<string>(libraryNames);
428
- assert(candidates.size === 1, "Expected all libraries to have the same name");
+ assert(
429
+ candidates.size === 1,
430
+ `Expected all libraries to share name, got: ${[...candidates].join(", ")}`
431
+ );
432
const [name] = candidates;
433
return name;
434
}
0 commit comments