From 738f197137fdaa22c94e7cca93668c0caa81a9b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20Ruz=CC=8Cevic=CC=81?= Date: Wed, 8 May 2024 10:59:31 +0200 Subject: [PATCH] update on few small issues --- src/Init/InitThemeMandatryCli.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Init/InitThemeMandatryCli.php b/src/Init/InitThemeMandatryCli.php index c06571987..76c01e8cd 100644 --- a/src/Init/InitThemeMandatryCli.php +++ b/src/Init/InitThemeMandatryCli.php @@ -103,8 +103,8 @@ public function __invoke(array $args, array $assocArgs) ->outputWrite($destionation, $file, $assocArgs); } - WP_CLI::runcommand("wp eval 'shell_exec(\"rm composer.lock\");'"); - WP_CLI::runcommand("wp eval 'shell_exec(\"composer install -n --no-cache\");'"); - WP_CLI::runcommand("wp eval 'shell_exec(\"npm install\");'"); + WP_CLI::runcommand("eval 'shell_exec(\"rm composer.lock\");'"); + WP_CLI::runcommand("eval 'shell_exec(\"composer install -n --no-cache\");'"); + WP_CLI::runcommand("eval 'shell_exec(\"npm install\");'"); } }