File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ func (cmd *PullCommand) Run(config *phrase.Config) error {
7171 val , ok := localesCache [LocalesCacheKey {target .ProjectID , target .GetBranch ()}]
7272 if ! ok || len (val ) == 0 {
7373 if cmd .Branch != "" {
74- continue
74+ return fmt . Errorf ( "Branch '%s' does not exist in project '%s'" , cmd . Branch , target . ProjectID )
7575 }
7676 return fmt .Errorf ("Could not find any locales for project %q" , target .ProjectID )
7777 }
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ require (
1111 github.com/daviddengcn/go-colortext v1.0.0
1212 github.com/jpillora/backoff v1.0.0
1313 github.com/mitchellh/mapstructure v1.5.0
14- github.com/phrase/phrase-go/v4 v4.0.5 // x-release-please-version
14+ github.com/phrase/phrase-go/v4 v4.1.0 // x-release-please-version
1515 github.com/spf13/cobra v1.8.1
1616 github.com/spf13/viper v1.19.0
1717 gopkg.in/yaml.v2 v2.4.0
You can’t perform that action at this time.
0 commit comments