@@ -90,8 +90,12 @@ |
||
| 90 | 90 | $this->print("You have <info>$</info><info>$money</info>."); |
| 91 | 91 | if ($money > 0) { |
| 92 | 92 | $bet = (int)$io->ask('Your bet', '5'); |
| 93 | - if ($bet <= 0) goto start; |
|
| 94 | - if ($bet > $money) goto start; |
|
| 93 | + if ($bet <= 0) { |
|
| 94 | + goto start; |
|
| 95 | + } |
|
| 96 | + if ($bet > $money) { |
|
| 97 | + goto start; |
|
| 98 | + } |
|
| 95 | 99 | } else if ($hasWatch) { |
| 96 | 100 | $answer = $io->askQuestion(new ChoiceQuestion('?', ['leave', '- Here, take my watch! [$25]'], 0)); |
| 97 | 101 | if ($answer == 'leave') { |
@@ -257,8 +257,7 @@ |
||
| 257 | 257 | try { |
| 258 | 258 | if (get('update_code_strategy') === 'archive') { |
| 259 | 259 | cd('{{deploy_path}}/.dep/repo'); |
| 260 | - } |
|
| 261 | - else { |
|
| 260 | + } else { |
|
| 262 | 261 | cd('{{release_path}}'); |
| 263 | 262 | } |
| 264 | 263 | |