Skip to content

Commit

Permalink
👷 Apply #9194
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexV525 committed Sep 17, 2023
1 parent 19c3f12 commit eac4f6e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tool/check-code.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,14 @@ flutter --version
if [[ $REFRESH ]]; then
echo "=> Refreshing code excerpts..."
(
commitHash=`git reflog -n1 --format='%h'`
git add .
git commit -m "Temporary add /doc"
set -x
tool/refresh-code-excerpts.sh --keep-dart-tool
git reset --soft $commitHash
) || (
git --no-pager diff
echo "=> ERROR: some code excerpts were not refreshed!"
exit 1
)
Expand Down

0 comments on commit eac4f6e

Please sign in to comment.