Browse Source

fix(musare.sh): Unnecessary git rev-parse in breakingConfigChange

Owen Diffey 1 year ago
parent
commit
61d828633b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      musare.sh

+ 1 - 1
musare.sh

@@ -423,7 +423,7 @@ case $1 in
             echo -e "${GREEN}Already up to date${NC}"
             exit ${exitValue}
         fi
-        breakingConfigChange=$(git rev-list "$(git rev-parse HEAD)" | grep "$(git rev-parse d8b73be1de231821db34c677110b7b97e413451f)")
+        breakingConfigChange=$(git rev-list "$(git rev-parse HEAD)" | grep d8b73be1de231821db34c677110b7b97e413451f)
         if [[ -f backend/config/default.json && -z $breakingConfigChange ]]; then
             echo -e "${RED}Configuration has breaking changes. Please rename or remove 'backend/config/default.json' and run the update command again to continue.${NC}"
             exit 1