watermill
watermill copied to clipboard
[watermill-kafka] make update_watermill failed with `sed: 1: "go.mod": extra characters at the end of g command`
After follwing the standard setup procedure, running make update_watermill
on MacOS Monterey
output:
go get -u github.com/ThreeDotsLabs/watermill
go mod tidy
sed -i '\|go 1\.|d' go.mod
sed: 1: "go.mod": extra characters at the end of g command
Replacing macOS builtin sed with gsed from brew install gnu-sed resolves the issue.