diff --git a/README.md b/README.md index c783f7c7..b5c784a1 100644 --- a/README.md +++ b/README.md @@ -12,10 +12,10 @@ You can achieve this by adding the following to your project's `composer.json`: ```` "scripts": { "post-install-cmd": [ - "[ $COMPOSER_DEV_MODE -eq 1 ] && vendor/bin/phpcs --config-set installed_paths ../../magento/magento-coding-standard/" + "([ $COMPOSER_DEV_MODE -eq 1 ] && vendor/bin/phpcs --config-set installed_paths ../../magento/magento-coding-standard/) || true" ], "post-update-cmd": [ - "[ $COMPOSER_DEV_MODE -eq 1 ] && vendor/bin/phpcs --config-set installed_paths ../../magento/magento-coding-standard/" + "([ $COMPOSER_DEV_MODE -eq 0 ] || vendor/bin/phpcs --config-set installed_paths ../../magento/magento-coding-standard/)" ] } ````