Skip to content

Commit

Permalink
fix: correctly get custom "traverse" function
Browse files Browse the repository at this point in the history
  • Loading branch information
adrians5j committed Oct 14, 2019
1 parent 0b17f62 commit a4a5c61
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/utils/extractSrcDeps.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ module.exports = ({ dir, instance, adioRc }) => {
src,
config: {
parser: {
...get(instance, "config.parser", {}),
...get(adioRc, "parser", {})
}
...get(adioRc, "parser", get(instance, "config.parser", {}))
},
traverse: get(adioRc, "traverse", get(instance, "config.traverse"))
}
});

Expand Down

0 comments on commit a4a5c61

Please sign in to comment.