Fix powershell scripts (#615)

* add check_deps.ps1

* fix check_gofmt select-string regex pattern

* capitalize JoinPath

* fix typo

* fail check_deps.ps1 on error
This commit is contained in:
lpdyck
2018-09-01 03:59:55 -06:00
committed by marpio
parent a2a2d93a9e
commit c4417371ef
4 changed files with 20 additions and 3 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ set -xeuo pipefail
git remote set-branches --add origin master && git fetch
ChangedFiles=`git diff --name-only origin/master`
# in the casse that ChangedFiles contains go.mod or go.sum run go mod verify
# in the case that ChangedFiles contains go.mod or go.sum run go mod verify
case "$ChangedFiles" in
go.mod | go.sum)
go mod verify