Skip to content

Commit 361303c

Browse files
committed
wip
1 parent e094700 commit 361303c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

nodeapp.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,9 +274,11 @@ public function hcpp_invoke_plugin( $args ) {
274274
/**
275275
* Modify runuser to incorporate NVM
276276
*/
277-
public function hcpp_runuser( $cmd ) {
277+
public function hcpp_runuser( $args ) {
278+
$cmd = $args[1];
278279
$cmd = 'export NVM_DIR=/opt/nvm && source /opt/nvm/nvm.sh && ' . $cmd;
279-
return $cmd;
280+
$args[1] = $cmd;
281+
return $args;
280282
}
281283

282284
/**

0 commit comments

Comments
 (0)