Skip to content

Commit

Permalink
chore: add debug line to understand what changes on the PR build
Browse files Browse the repository at this point in the history
  • Loading branch information
delanni committed Jul 5, 2023
1 parent c2f3216 commit 2ff08f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .buildkite/scripts/common/util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ check_for_changed_files() {
else
echo -e "\n${RED}ERROR: '$1' caused changes to the following files:${C_RESET}\n"
echo -e "$GIT_CHANGES\n"
git diff yarn.lock | cat
echo -e "\n${YELLOW}TO FIX: Run '$1' locally, commit the changes and push to your branch${C_RESET}\n"
exit 1
fi
Expand Down
1 change: 1 addition & 0 deletions src/dev/ci_setup/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ if [[ "$DISABLE_BOOTSTRAP_VALIDATION" != "true" ]]; then
if [ "$GIT_CHANGES" ]; then
echo -e "\n${RED}ERROR: 'yarn kbn bootstrap' caused changes to the following files:${C_RESET}\n"
echo -e "$GIT_CHANGES\n"
git diff yarn.lock | cat
exit 1
fi
fi

0 comments on commit 2ff08f7

Please sign in to comment.