File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -88,19 +88,19 @@ endif
8888
8989# # Validate drupal-rector
9090drupalrectorval :
91+ ifneq ("$(wildcard rector.yml) ","")
9192 @echo "Drupal Rector validation..."
9293 $(call php, composer install -o)
9394 $(call php, vendor/bin/rector -V)
9495 $(call php, vendor/bin/rector process --dry-run --no-progress-bar web/modules/custom web/themes/custom)
96+ else
97+ @echo "rector.yml file does not exist"
98+ endif
9599
96100# # Validate upgrade-status
97101upgradestatusval :
98- ifneq ("$(wildcard rector.yml) ","")
99102 @echo " Upgrade status validation..."
100103 @$(call php, /bin/sh ./scripts/makefile/upgrade-status-validation.sh)
101- else
102- @echo "rector.yml file does not exist"
103- endif
104104
105105# # Validate newline at the end of files
106106newlineeof :
You can’t perform that action at this time.
0 commit comments