diff --git a/cmd/deploytargetconfig.go b/cmd/deploytargetconfig.go index 84864777..176bd2cf 100644 --- a/cmd/deploytargetconfig.go +++ b/cmd/deploytargetconfig.go @@ -162,7 +162,7 @@ var updateDeployTargetConfigCmd = &cobra.Command{ if branches != "" { updateDeployTargetConfig.Branches = branches } - if branches != "" { + if pullrequests != "" { updateDeployTargetConfig.Pullrequests = pullrequests } if deploytarget != 0 {