mirror of
https://github.com/gomods/athens
synced 2026-02-03 11:00:32 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user