Skip to content

Commit 49a93fc

Browse files
stevezhubcoe
authored andcommitted
fix: use path.resolve() to support node 0.10 (#797)
1 parent 3280dd0 commit 49a93fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/apply-extends.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function checkForCircularExtends (path) {
1212
}
1313

1414
function getPathToDefaultConfig (cwd, pathToExtend) {
15-
return path.isAbsolute(pathToExtend) ? pathToExtend : path.join(cwd, pathToExtend)
15+
return path.resolve(cwd, pathToExtend)
1616
}
1717

1818
function applyExtends (config, cwd, subKey) {

0 commit comments

Comments
 (0)