Skip to content

Commit ca9a72c

Browse files
committed
fix broken logic for bot commit detection
1 parent 756078e commit ca9a72c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ docs-server:
8989
#
9090
# Nightly data build process
9191
#
92-
ifeq ($(git --no-pager show -s --format="%aN" HEAD),"ChaiJs Bot")
92+
ifeq ($(shell git --no-pager show -s --format="%aN" HEAD), ChaiJs Bot)
9393
nightly:
94-
@echo "refusing to build nightly, as it just build"
94+
@echo "Cowardly refusing to build nightly"
9595
else
9696
nightly: clean plugins releases api-docs
9797
@git config user.name "ChaiJs Bot"

0 commit comments

Comments
 (0)