ソースを参照

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

Owen Diffey 1 年間 前
コミット
61d828633b
1 ファイル変更1 行追加1 行削除
  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