Skip to content

Commit

Permalink
TE-4671: Move NPM console command
Browse files Browse the repository at this point in the history
  • Loading branch information
rfilippone-spryker committed Mar 13, 2020
1 parent 5a4093e commit 39c555a
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
use Symfony\Component\Process\Process;

/**
* @deprecated Use {@link \Spryker\Zed\SetupFrontend\Communication\Console\Npm\RunnerConsole } instead.
*
* @method \Spryker\Zed\Setup\Business\SetupFacadeInterface getFacade()
* @method \Spryker\Zed\Setup\Communication\SetupCommunicationFactory getFactory()
*/
Expand Down Expand Up @@ -97,6 +99,7 @@ protected function configure()
*/
protected function execute(InputInterface $input, OutputInterface $output)
{
$this->warning(sprintf('The console command `%s` is deprecated. Use `frontend:npm:run` instead', static::COMMAND_NAME));
$command = $this->getCommand();

return $this->runCommand($command);
Expand Down

0 comments on commit 39c555a

Please sign in to comment.