mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-29 13:21:10 +00:00
Exclude setup from cli command exec. (#3523)
The woodpecker-cli exec command only execute local pipelines so setup for remote server is not needed.
This commit is contained in:
parent
75803dba41
commit
00b1651f47
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ type Config struct {
|
|||
LogLevel string `json:"log_level"`
|
||||
}
|
||||
|
||||
var skipSetupForCommands = []string{"setup", "help", "h", "version", "update", "lint", ""}
|
||||
var skipSetupForCommands = []string{"setup", "help", "h", "version", "update", "lint", "exec", ""}
|
||||
|
||||
func Load(c *cli.Context) error {
|
||||
if firstArg := c.Args().First(); slices.Contains(skipSetupForCommands, firstArg) {
|
||||
|
|
Loading…
Reference in a new issue