Compare commits

..

No commits in common. "4068a4ff066eb8aa3c7f28c4f74a4aea22d6f59c" 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) {