We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05e5ced commit b5cee46Copy full SHA for b5cee46
clients/cli/cmd/internal/pull.go
@@ -71,7 +71,7 @@ func (cmd *PullCommand) Run(config *phrase.Config) error {
71
val, ok := localesCache[LocalesCacheKey{target.ProjectID, target.GetBranch()}]
72
if !ok || len(val) == 0 {
73
if cmd.Branch != "" {
74
- continue
+ return fmt.Errorf("Branch '%s' does not exist in project '%s'", cmd.Branch, target.ProjectID)
75
}
76
return fmt.Errorf("Could not find any locales for project %q", target.ProjectID)
77
0 commit comments