mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-03-16 17:54:07 +01:00
Fix cli format flag fallback (#5057)
This commit is contained in:
@@ -58,7 +58,7 @@ func repoOutput(c *cli.Command, repos []*woodpecker.Repo, fd ...io.Writer) error
|
||||
log.Warn().Msgf("the --format flag is deprecated, please use --output instead")
|
||||
|
||||
outFmt = "go-template"
|
||||
outOpt = []string{legacyFmt}
|
||||
outOpt = []string{fmt.Sprintf("{{range . }}%s{{ print \"\\n\" }}{{end}}", legacyFmt)}
|
||||
}
|
||||
|
||||
var out io.Writer
|
||||
|
||||
Reference in New Issue
Block a user