diff options
author | Lukas Winkler <github@lw1.at> | 2018-11-01 15:52:48 +0300 |
---|---|---|
committer | Stefan Giehl <stefan@piwik.org> | 2018-11-01 15:52:48 +0300 |
commit | 905d2ee106c2371a62d350d5b1ae243867d09d25 (patch) | |
tree | e695cd74478e544ac90705824a36cda2b9fb0aa6 /plugins/LanguagesManager | |
parent | 5aed978ed284d81cd8e046498588b17d0592d3e0 (diff) |
fix switch continue in CreatePull (#13635)
* fix switch return in CreatePull
* use continue 2 instead
Diffstat (limited to 'plugins/LanguagesManager')
-rw-r--r-- | plugins/LanguagesManager/Commands/CreatePull.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/LanguagesManager/Commands/CreatePull.php b/plugins/LanguagesManager/Commands/CreatePull.php index 0454f31081..b5e908d4df 100644 --- a/plugins/LanguagesManager/Commands/CreatePull.php +++ b/plugins/LanguagesManager/Commands/CreatePull.php @@ -214,7 +214,7 @@ class CreatePull extends TranslationBase switch ($returnCode) { case 401: $output->writeln("Pull request failed. Bad credentials... Please try again"); - continue; + continue 2; case 422: $output->writeln("Pull request failed. Unprocessable Entity. Maybe a pull request was already created before."); |