Skip to content

Commit

Permalink
fix: Fix for npm-method for not picking up the build command setting (F…
Browse files Browse the repository at this point in the history
…ixes #351)
  • Loading branch information
Stephan Huber committed Dec 3, 2024
1 parent bffa0fd commit 52c7250
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Method/NpmMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 52c7250

Please sign in to comment.