Selaa lähdekoodia

Merge pull request #746 from AppFlowy-IO/feat/fix_install_macos_sh

chore: fix instal_macos.sh download glint error
Nathan.fooo 2 vuotta sitten
vanhempi
commit
da92bcd91a
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      frontend/scripts/install_dev_env/install_macos.sh

+ 1 - 1
frontend/scripts/install_dev_env/install_macos.sh

@@ -53,7 +53,7 @@ git config core.hooksPath .githooks
 # Install go-gitlint 
 printMessage "Installing go-gitlint."
 GOLINT_FILENAME="go-gitlint_1.1.0_osx_x86_64.tar.gz"
-wget https://github.com/llorllale/go-gitlint/releases/download/1.1.0/${GOLINT_FILENAME}
+curl -L https://github.com/llorllale/go-gitlint/releases/download/1.1.0/${GOLINT_FILENAME} --output ${GOLINT_FILENAME}
 tar -zxv --directory .githooks/. -f ${GOLINT_FILENAME} gitlint 
 rm ${GOLINT_FILENAME}