瀏覽代碼

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

chore: fix instal_macos.sh download glint error
Nathan.fooo 2 年之前
父節點
當前提交
da92bcd91a
共有 1 個文件被更改,包括 1 次插入1 次删除
  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}