We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 778d84c commit 821a15eCopy full SHA for 821a15e
src/commands/build.js
@@ -43,7 +43,7 @@ module.exports.handler = function build(argv) {
43
let watcher;
44
argv._handled = true;
45
46
- if (!argv.input.length) {
+ if (!(argv.input && argv.input.length)) {
47
try {
48
argv.input = [
49
JSON.parse(fs.readFileSync(path.resolve('package.json'), 'utf8'))
0 commit comments