@exodus/test 1.0.0-rc.83 → 1.0.0-rc.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/index.js +3 -5
- package/package.json +1 -1
package/bin/index.js
CHANGED
|
@@ -201,7 +201,7 @@ function parseOptions() {
|
|
|
201
201
|
case '--concurrency':
|
|
202
202
|
const concurrency = args.shift()
|
|
203
203
|
options.concurrency = Number(concurrency)
|
|
204
|
-
assert.equal(concurrency
|
|
204
|
+
assert.equal(`${concurrency}`, `${options.concurrency}`)
|
|
205
205
|
assert(Number.isInteger(options.concurrency) && options.concurrency >= 0)
|
|
206
206
|
break
|
|
207
207
|
case '--bundle-entropy-size':
|
|
@@ -220,10 +220,8 @@ function parseOptions() {
|
|
|
220
220
|
}
|
|
221
221
|
}
|
|
222
222
|
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
'Options should come before patterns'
|
|
226
|
-
)
|
|
223
|
+
const argsArePlainStrings = args.every((arg) => typeof arg === 'string' && !arg.startsWith('--'))
|
|
224
|
+
assert(argsArePlainStrings, 'Options should come before patterns')
|
|
227
225
|
|
|
228
226
|
const patterns = [...args]
|
|
229
227
|
|