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 98efade commit e8d2adcCopy full SHA for e8d2adc
lib/config.js
@@ -88,6 +88,10 @@ class Config extends BaseCommand {
88
this.config(args).then(() => cb()).catch(cb)
89
}
90
91
+ execWorkspaces (args, filters, cb) {
92
+ this.exec(args, cb)
93
+ }
94
+
95
async config ([action, ...args]) {
96
this.npm.log.disableProgress()
97
try {
test/lib/config.js
@@ -93,6 +93,13 @@ t.test('config no args', t => {
})
+t.test('config ignores workspaces', t => {
+ config.execWorkspaces([], [], (err) => {
98
+ t.match(err, /usage instructions/, 'should not error out when workspaces are defined')
99
+ t.end()
100
+ })
101
+})
102
103
t.test('config list', t => {
104
t.plan(2)
105
0 commit comments