Skip to content

Commit

Permalink
Fix default arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
zoubin committed May 26, 2016
1 parent 853ae6a commit 49c7d65
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ function watchify(b, opts) {

function create(entries, opts, bundleOptions, watchOpts) {
if (typeof entries !== 'string' && !Array.isArray(entries)) {
watchOpts = bundleOptions
bundleOptions = opts
opts = entries
entries = null
Expand Down

0 comments on commit 49c7d65

Please sign in to comment.