File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
frontend/scripts/install_dev_env Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -22,9 +22,9 @@ printError() {
2222printMessage " The Rust programming language is required to compile AppFlowy."
2323printMessage " We can install it now if you don't already have it on your system."
2424
25- read -p " $( printSuccess " Do you want to install Rust? [Y /N]" ) " installrust
25+ read -p " $( printSuccess " Do you want to install Rust? [y /N]" ) " installrust
2626
27- if [ ${installrust} == " Y " ] || [ ${installrust} == " y " ]; then
27+ if [[ " ${installrust:- N} " == [Yy] ] ]; then
2828 printMessage " Installing Rust."
2929 brew install rustup-init
3030 rustup-init -y --default-toolchain=stable
@@ -60,7 +60,7 @@ tar -zxv --directory .githooks/. -f ${GOLINT_FILENAME} gitlint
6060rm ${GOLINT_FILENAME}
6161
6262# Change to the frontend directory
63- cd frontend
63+ cd frontend || exit 1
6464
6565# Install cargo make
6666printMessage " Installing cargo-make."
You can’t perform that action at this time.
0 commit comments