From 0d4874222eb61668fa98131f35d6053fe198a89e Mon Sep 17 00:00:00 2001 From: eug-L Date: Tue, 26 Nov 2024 16:44:32 +0800 Subject: [PATCH] update composer script --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index a933189..b8dd7d8 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ }, "license": "AFL-3.0", "scripts": { - "post-install-cmd": "[ -z \"$GITHUB_ACTIONS\" ] && npm install", + "post-install-cmd": "if [ -z \"$GITHUB_ACTIONS\" ]; then npm install; fi", "lint": "phpcs -p -s -v --runtime-set ignore_warnings_on_exit true .", "lint:fix": "php-cs-fixer fix --config='.php-cs-fixer.dist.php'", "auto-index": "composer run auto-index:1.6 && composer run auto-index:1.7 && composer run auto-index:8",