Compare commits

..

No commits in common. "cb9d8e194faf233463c5345320623bf9d2a53518" and "4c5849daae8b0c689438f2eff48c2557cf5282e3" have entirely different histories.

2 changed files with 1 additions and 11 deletions

View File

@ -1,10 +0,0 @@
---
pipeline:
lint:
image: golangci/golangci-lint
commands:
- golangci-lint run
build:
image: golang
commands:
- go build ./cmd/bb

View File

@ -99,7 +99,7 @@ func ContainsCommand(s, prefix, cmd string) bool {
return false return false
} }
func SplitCommandAndArg(s, prefix string) (cmd string, args []string) { func SplitCommandAndArgs(s, prefix string) (cmd string, args []string) {
s = strings.TrimSpace(s) s = strings.TrimSpace(s)
if !strings.HasPrefix(s, prefix) { if !strings.HasPrefix(s, prefix) {