Skip to content

Commit

Permalink
Fixed lodash usage
Browse files Browse the repository at this point in the history
Signed-off-by: Jaid <jaid.jsx@gmail.com>
  • Loading branch information
Jaid committed Feb 16, 2019
1 parent 38d0a83 commit e5b4ee3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default (value, ensuredStart) => {
}
return `${ensuredStart}${value}`
}
if (Array.isArray(value, ensuredStart)) {
if (Array.isArray(value)) {
if (!Array.isArray(ensuredStart)) {
ensuredStart = [ensuredStart]
}
Expand Down

0 comments on commit e5b4ee3

Please sign in to comment.