Skip to content

Commit

Permalink
Fix bug with expanding null var
Browse files Browse the repository at this point in the history
  • Loading branch information
antonmedv committed Nov 3, 2018
1 parent df2de03 commit 3dd064a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions fx.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ module.exports = function start(input) {
})

function walk(v, cb, path = '') {
if (!v) {
return
}

if (Array.isArray(v)) {
cb(path)
let i = 0
Expand Down

0 comments on commit 3dd064a

Please sign in to comment.