Skip to content

Commit

Permalink
fix: use path.resolve() to support node 0.10 (#797)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevezhu authored and bcoe committed Feb 26, 2017
1 parent 3280dd0 commit 49a93fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/apply-extends.js
Expand Up @@ -12,7 +12,7 @@ function checkForCircularExtends (path) {
}

function getPathToDefaultConfig (cwd, pathToExtend) {
return path.isAbsolute(pathToExtend) ? pathToExtend : path.join(cwd, pathToExtend)
return path.resolve(cwd, pathToExtend)
}

function applyExtends (config, cwd, subKey) {
Expand Down

0 comments on commit 49a93fc

Please sign in to comment.