diff --git a/Makefile b/Makefile index 08c430d..51b959a 100755 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ fmt: vsn: @diff1=$$(git branch -a); \ echo $$diff1; \ - diff=$$(git diff-index master version.json); \ + diff=$$(git diff-index remotes/origin/master version.json); \ if [[ -z "$$diff" ]]; then \ echo "⇒ You need to update the api version in the version.json file"; \ exit 1;\