Skip to content

Commit

Permalink
fix(typo): tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
Charlike Mike Reagent committed Oct 20, 2017
1 parent 0803be9 commit 1387cba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ let arrayify = (val) => {

const resolveFromString = (opts, plugin) => {
const func = resolver(opts, plugin)
const first = opts.hasOwnProperty('first') ? opts.first : []
const first = opts.hasOwnProperty('first') ? [opts.first] : []
let argz = opts.args ? opts.args : first

return typeof func === 'function' ? func.apply(opts.context, argz) : func
Expand Down

0 comments on commit 1387cba

Please sign in to comment.