Created
March 31, 2021 18:01
-
-
Save djberg96/91cd618e655f7cbf07568d3004a03ad4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rm -f pkg/api/openapi/go.mod pkg/api/openapi/go.sum | |
| gofmt -w pkg/api/openapi | |
| for file in pkg/api/openapi/model_*.go; do \ | |
| perl -0777 -i -pe 's/\nimport \(\)\n//igs' $file; \ | |
| done | |
| go generate ./cmd/status-board | |
| Traceback (most recent call last): | |
| File "<string>", line 1, in <module> | |
| ModuleNotFoundError: No module named 'yaml' | |
| cmd/status-board/main.go:4: running "sh": exit status 1 | |
| make: *** [generate] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment