From f9b4d3e7f0496be990f7ed15b211f15d37fabffc Mon Sep 17 00:00:00 2001 From: Wim Leers <wim.leers@acquia.com> Date: Wed, 22 Feb 2023 13:54:27 +0100 Subject: [PATCH] Specify `set -xev` in an alternative way. --- drupalci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drupalci.yml b/drupalci.yml index 43c70daf57..dcaac91f63 100644 --- a/drupalci.yml +++ b/drupalci.yml @@ -36,6 +36,8 @@ build: - cat modules/contrib/automatic_updates/dictionary.txt >> core/misc/cspell/dictionary.txt # Ensure we have the full path to PHPStan. - sed -i "s/vendor\/bin\/phpstan/\/var\/www\/html\/vendor\/bin\/phpstan/" modules/contrib/automatic_updates/commit-code-check.sh + # Ensure that debugging commit-code-check.sh is feasible at all times. + - sed -i "s/# Searches an array./set -xev/" modules/contrib/automatic_updates/commit-code-check.sh # After all of the shenanigans above, we're finally ready to run core's `commit-code-check.sh`! :) - cat modules/contrib/automatic_updates/commit-code-check.sh - diff /var/www/html/core/scripts/dev/commit-code-check.sh modules/contrib/automatic_updates/commit-code-check.sh @@ -43,7 +45,6 @@ build: - ls -al modules/contrib/automatic_updates/src/ - ls -al /var/www/html/core/ - git config --global --add safe.directory /var/www/html/modules/contrib/automatic_updates - - sh -xev modules/contrib/automatic_updates/commit-code-check.sh --drupalci # Restore the original permissions. - chmod 777 modules/contrib/automatic_updates/ # Disable the PCRE engine's JIT, since it causes Composer to die during the -- GitLab