File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 99 accessModes :
1010 - ReadWriteMany
1111 persistentVolumeReclaimPolicy : Retain # "Delete" is not supported in static provisioning
12+ mountOptions :
13+ - -o allow_other
14+ - --file-cache-timeout-in-seconds=120
1215 csi :
1316 driver : blobfuse.csi.azure.com
1417 readOnly : false
Original file line number Diff line number Diff line change @@ -34,11 +34,14 @@ exitHandler() (
3434)
3535trap exitHandler EXIT
3636
37- # perform go get in a temp dir as we are not tracking this version in a go module
38- # if we do the go get in the repo, it will create / update a go.mod and go.sum
39- cd " ${TMP_DIR} "
40- GO111MODULE=on GOBIN=" ${TMP_DIR} " go get " github.com/client9/misspell/cmd/misspell@${TOOL_VERSION} "
41- export PATH=" ${TMP_DIR} :${PATH} "
37+ if [[ -z " $( command -v misspell) " ]]; then
38+ echo " Cannot find misspell. Installing misspell..."
39+ # perform go get in a temp dir as we are not tracking this version in a go module
40+ # if we do the go get in the repo, it will create / update a go.mod and go.sum
41+ cd " ${TMP_DIR} "
42+ GO111MODULE=on GOBIN=" ${TMP_DIR} " go get " github.com/client9/misspell/cmd/misspell@${TOOL_VERSION} "
43+ export PATH=" ${TMP_DIR} :${PATH} "
44+ fi
4245cd " ${ROOT} "
4346
4447# check spelling
You can’t perform that action at this time.
0 commit comments