Skip to content

Commit a18d881

Browse files
committed
Small refactor of index.js
1 parent 43fc5db commit a18d881

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,8 @@ Promise.resolve()
176176
error('Must use --dir or --replace with multiple input files')
177177
}
178178

179-
return i
179+
return files(i)
180180
})
181-
.then(files)
182181
.then((results) => {
183182
if (argv.watch) {
184183
const watcher = chokidar.watch(input.concat(dependencies(results)))

0 commit comments

Comments
 (0)