Skip to content

Commit 2ac83d5

Browse files
committed
fix moleculer test
1 parent fb375ab commit 2ac83d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/install_plugin_modules.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ async function assertPeerDependencies () {
151151
const versionPkgJson = require(versionPkgJsonPath)
152152

153153
for (const { dep, name } of externalDeps[pluginName]) {
154-
const pkgJsonPath = require(folder).pkgJsonPath()
154+
const pkgJsonPath = join(folder, 'node_modules', externalName, 'package.json')
155155
const pkgJson = require(pkgJsonPath)
156156

157157
// Add missing dependency to the module. While this technically means the

0 commit comments

Comments
 (0)