Skip to content

Commit 1d51c6a

Browse files
swissspidyCopilot
andauthored
Update .github/workflows/reusable-regenerate-readme.yml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent f9d07fb commit 1d51c6a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/reusable-regenerate-readme.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,7 @@ jobs:
9191
9292
ROOTS=$(echo "$DOCUMENTED" | awk '{print $1}' | sort -u)
9393
94-
DUMP=$(wp cli cmd-dump)
95-
if [ -z "$DUMP" ]; then
94+
if ! DUMP=$(wp cli cmd-dump); then
9695
echo "::error::Failed to dump commands"
9796
exit 1
9897
fi

0 commit comments

Comments
 (0)