Skip to content

Commit 86816ac

Browse files
authored
Merge pull request #814 from hyoo-ru/autoinstall
Ensurer uses autoinstall helper
2 parents 389c34e + 4efe63f commit 86816ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/ensure/npm/npm.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ namespace $ {
1414
&& mod.name() !== 'node'
1515
&& ! mod.name().startsWith('@')
1616
) {
17-
$node [ mod.name() ] // force autoinstall through npm
17+
this.$.$node_autoinstall(mod.name()) // force autoinstall through npm
1818
return true
1919
}
2020

2121
if(
2222
[ node, node_modules ].includes( parent.parent() )
2323
&& parent.name().startsWith('@')
2424
) {
25-
$node [ `${parent.name()}/${mod.name()}` ] // force autoinstall through npm
25+
this.$.$node_autoinstall(`${parent.name()}/${mod.name()}`) // force autoinstall through npm
2626
return true
2727
}
2828
return false

0 commit comments

Comments
 (0)