File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -8,11 +8,11 @@ if [[ "$(uname || true)" = "Darwin" ]]; then
88 args=(" -i" " " )
99fi
1010
11- go install golang.org/x/tools/cmd/goimports@latest
11+ go install golang.org/x/tools/cmd/goimports
1212find . -name " *.go" -exec sed " ${args[@]} " -e " s#\" sync\" #\" sync\" ${SEP} deadlock \" github.com/sasha-s/go-deadlock\" #" {} \;
1313find . -name " *.go" -exec sed " ${args[@]} " -e ' s#sync.RWMutex#deadlock.RWMutex#' {} {} \;
1414find . -name " *.go" -exec sed " ${args[@]} " -e ' s#sync.Mutex#deadlock.Mutex#' {} {} \;
1515goimports -w .
16- go get github.com/sasha-s/go-deadlock/...@master
16+ go get github.com/sasha-s/go-deadlock/...
1717cd caddy || exit
18- go get github.com/sasha-s/go-deadlock/...@master
18+ go get github.com/sasha-s/go-deadlock/...
You can’t perform that action at this time.
0 commit comments