Skip to content

Commit 24cbbb7

Browse files
committed
fix(composer): fix running composer with --no-dev option
Signed-off-by: Simon L. <[email protected]>
1 parent 3e6e54b commit 24cbbb7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"scripts": {
1414
"post-install-cmd": [
15-
"@composer bin psalm install --ansi"
15+
"[ $COMPOSER_DEV_MODE -eq 0 ] || @composer bin psalm install --ansi"
1616
],
1717
"cs:fix": "php-cs-fixer fix",
1818
"cs:check": "php-cs-fixer fix --dry-run --diff",

0 commit comments

Comments
 (0)