Skip to content
This repository was archived by the owner on Jun 22, 2021. It is now read-only.

Commit b35ca9f

Browse files
author
Tonye Jack
committed
Fixed command.
1 parent f6dcafd commit b35ca9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22

3-
if [[ $(git diff --cached --name-only | wc -l) -eq 1 ]]; then
3+
if [[ $(git ls-files -z -o --exclude-standard | wc -l) -eq 1 ]]; then
44
echo "Unstaged changes" && exit 1;
55
else
66
python manage.py graphql_schema;

0 commit comments

Comments
 (0)