mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 01:17:50 +00:00
Add build tests for build command checks.
Former-commit-id: 3f43b83f07ded116e0ae667f9c809bd1b7b4f30a
This commit is contained in:
2
build.js
2
build.js
@@ -2498,7 +2498,7 @@
|
||||
if (isTemplate) {
|
||||
invalidArgs.push('template');
|
||||
}
|
||||
if (invalidArgs.length > 2) {
|
||||
if (invalidArgs.length > 1) {
|
||||
warnings.push('The `' + invalidArgs.slice(0, -1).join('`, `') + '`' + (invalidArgs.length > 2 ? ',' : '') + ' and `' + invalidArgs.slice(-1) + '` commands may not be combined.');
|
||||
}
|
||||
// report invalid command entries
|
||||
|
||||
Reference in New Issue
Block a user