From 52c7250c431c10c3df36300869a1eb98dbf41a6d Mon Sep 17 00:00:00 2001 From: Stephan Huber Date: Tue, 3 Dec 2024 20:00:35 +0100 Subject: [PATCH] fix: Fix for npm-method for not picking up the build command setting (Fixes #351) --- src/Method/NpmMethod.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)