Skip to content
This repository has been archived by the owner on Nov 15, 2021. It is now read-only.

Commit

Permalink
Don't error if config prop doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
leo committed Feb 8, 2018
1 parent 13a4a21 commit a0dab59
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,12 @@ module.exports = async cwd => {

for (const property of toResolve) {
const relative = dotProp.get(config, property)
const full = resolve(cwd, relative)

if (!relative) {
continue
}

const full = resolve(cwd, relative)
dotProp.set(config, property, full)
}

Expand Down

0 comments on commit a0dab59

Please sign in to comment.