Compare commits

..

3 Commits

Author SHA1 Message Date
4068a4ff06
Comment out lint step in Woodpecker CI
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-09-06 10:32:57 -05:00
cb9d8e194f
Add .woodpecker.yml
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-09-06 10:18:33 -05:00
f3145d8c1d
Fix test name typo 2022-09-06 08:35:44 -05:00
2 changed files with 11 additions and 1 deletions

10
.woodpecker.yml Normal file
View File

@ -0,0 +1,10 @@
---
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
}
func SplitCommandAndArgs(s, prefix string) (cmd string, args []string) {
func SplitCommandAndArg(s, prefix string) (cmd string, args []string) {
s = strings.TrimSpace(s)
if !strings.HasPrefix(s, prefix) {