Skip to content

Commit

Permalink
Small refactor of index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanZim committed Feb 4, 2017
1 parent 43fc5db commit a18d881
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,8 @@ Promise.resolve()
error('Must use --dir or --replace with multiple input files')
}

return i
return files(i)
})
.then(files)
.then((results) => {
if (argv.watch) {
const watcher = chokidar.watch(input.concat(dependencies(results)))
Expand Down

0 comments on commit a18d881

Please sign in to comment.