diff options
Diffstat (limited to 'deps/npm/node_modules/@npmcli/map-workspaces/index.js')
-rw-r--r-- | deps/npm/node_modules/@npmcli/map-workspaces/index.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/deps/npm/node_modules/@npmcli/map-workspaces/index.js b/deps/npm/node_modules/@npmcli/map-workspaces/index.js index b06662154a8..7587db717f3 100644 --- a/deps/npm/node_modules/@npmcli/map-workspaces/index.js +++ b/deps/npm/node_modules/@npmcli/map-workspaces/index.js @@ -129,7 +129,12 @@ async function mapWorkspaces (opts = {}) { if (seen.has(name) && seen.get(name) !== packagePathname) { throw getError({ Type: Error, - message: 'must not have multiple workspaces with the same name', + message: [ + 'must not have multiple workspaces with the same name', + `package '${name}' has conflicts in the following paths:`, + ' ' + seen.get(name), + ' ' + packagePathname + ].join('\n'), code: 'EDUPLICATEWORKSPACE' }) } |