Skip to content

Commit 28ee214

Browse files
committed
fix use-go-deadlock.sh
1 parent a5e4289 commit 28ee214

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/use-go-deadlock.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ if [[ "$(uname || true)" = "Darwin" ]]; then
88
args=("-i" "")
99
fi
1010

11-
go install golang.org/x/tools/cmd/goimports@latest
11+
go install golang.org/x/tools/cmd/goimports
1212
find . -name "*.go" -exec sed "${args[@]}" -e "s#\"sync\"#\"sync\"${SEP}deadlock \"github.com/sasha-s/go-deadlock\"#" {} \;
1313
find . -name "*.go" -exec sed "${args[@]}" -e 's#sync.RWMutex#deadlock.RWMutex#' {} {} \;
1414
find . -name "*.go" -exec sed "${args[@]}" -e 's#sync.Mutex#deadlock.Mutex#' {} {} \;
1515
goimports -w .
16-
go get github.com/sasha-s/go-deadlock/...@master
16+
go get github.com/sasha-s/go-deadlock/...
1717
cd caddy || exit
18-
go get github.com/sasha-s/go-deadlock/...@master
18+
go get github.com/sasha-s/go-deadlock/...

0 commit comments

Comments
 (0)