Skip to content

Commit

Permalink
fixz($core): prioritise vuepress dependencies over cwd node_modules (v…
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinKinloch committed Jul 25, 2019
1 parent 4ddf552 commit c69a622
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 c69a622

Please sign in to comment.