Skip to content

Commit

Permalink
fix($core): prioritise vuepress dependencies over cwd node_modules (c…
Browse files Browse the repository at this point in the history
…lose: #1708) (#1720)
  • Loading branch information
ColinKinloch authored and ulivz committed Jul 28, 2019
1 parent 78aecbd commit 52f421b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -310,5 +310,5 @@ function getLastCommitHash () {
}

function getModulePaths () {
return [path.resolve(process.cwd(), 'node_modules')].concat(module.paths)
return module.paths.concat([path.resolve(process.cwd(), 'node_modules')])
}

0 comments on commit 52f421b

Please sign in to comment.