diff options
author | Gar <gar+gh@danger.computer> | 2021-06-15 20:50:14 +0300 |
---|---|---|
committer | Gar <gar+gh@danger.computer> | 2021-06-16 00:55:23 +0300 |
commit | 102d4e6fb3c3b02148dbeee977a7d1e6372340d5 (patch) | |
tree | ba2a004abbbcaeab08b839d3fba09992ec07f0ad /lib/ci.js | |
parent | c6a8734d7d6e4b6d061110a01e45e1d418d56489 (diff) |
fix(workspaces): explicitly error in global mode
Also includes a preliminary refactor to consolidate workspace logic now
that every command that supports workspaces has it implemented.
PR-URL: https://github.com/npm/cli/pull/3417
Credit: @wraithgar
Close: #3417
Reviewed-by: @ruyadorno
Diffstat (limited to 'lib/ci.js')
-rw-r--r-- | lib/ci.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -55,7 +55,7 @@ class CI extends ArboristWorkspaceCmd { path: where, log: this.npm.log, save: false, // npm ci should never modify the lockfile or package.json - workspaces: this.workspaces, + workspaces: this.workspaceNames, } const arb = new Arborist(opts) |