Skip to content

Commit fefba0a

Browse files
authored
Merge pull request #130 from magento/pocallaghan-patch-1
Prevent none zero exit code
2 parents 2960287 + b121f95 commit fefba0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ You can achieve this by adding the following to your project's `composer.json`:
1212
````
1313
"scripts": {
1414
"post-install-cmd": [
15-
"[ $COMPOSER_DEV_MODE -eq 1 ] && vendor/bin/phpcs --config-set installed_paths ../../magento/magento-coding-standard/"
15+
"([ $COMPOSER_DEV_MODE -eq 1 ] && vendor/bin/phpcs --config-set installed_paths ../../magento/magento-coding-standard/) || true"
1616
],
1717
"post-update-cmd": [
18-
"[ $COMPOSER_DEV_MODE -eq 1 ] && vendor/bin/phpcs --config-set installed_paths ../../magento/magento-coding-standard/"
18+
"([ $COMPOSER_DEV_MODE -eq 0 ] || vendor/bin/phpcs --config-set installed_paths ../../magento/magento-coding-standard/)"
1919
]
2020
}
2121
````

0 commit comments

Comments
 (0)