diff --git a/src/Method/NpmMethod.php b/src/Method/NpmMethod.php index 9d93da22..5ddae929 100644 --- a/src/Method/NpmMethod.php +++ b/src/Method/NpmMethod.php @@ -55,7 +55,7 @@ public function validateConfig( public function resetPrepare(HostConfig $host_config, TaskContextInterface $context) { $this->runCommand($host_config, $context, 'install'); - $this->runCommand($host_config, $context, $host_config->get('npmBuildCommand')); + $this->runCommand($host_config, $context, $host_config->getProperty('npm.buildCommand')); } public function installPrepare(HostConfig $host_config, TaskContextInterface $context)