|
@@ -91,7 +91,7 @@ discard block |
|
|
block discarded – undo |
|
91
|
91
|
$io = $this->getIO(); |
|
92
|
92
|
|
|
93
|
93
|
if (null === $input->getOption('latest-release')) { |
|
94
|
|
- $answer = $io->askAndValidate('Please provide the latest released version [<comment>0.0.0</comment>]: ', function ($version) { |
|
|
94
|
+ $answer = $io->askAndValidate('Please provide the latest released version [<comment>0.0.0</comment>]: ', function($version) { |
|
95
|
95
|
if (null === $version) { |
|
96
|
96
|
throw new \InvalidArgumentException('Version can not be empty.'); |
|
97
|
97
|
} |
|
@@ -104,7 +104,7 @@ discard block |
|
|
block discarded – undo |
|
104
|
104
|
} |
|
105
|
105
|
|
|
106
|
106
|
if (null === $input->getArgument('version')) { |
|
107
|
|
- $answer = $io->askAndValidate('Please provide a version to release (eg. 1.0.0 or major): ', function ($version) { |
|
|
107
|
+ $answer = $io->askAndValidate('Please provide a version to release (eg. 1.0.0 or major): ', function($version) { |
|
108
|
108
|
if (null === $version) { |
|
109
|
109
|
throw new \InvalidArgumentException('Version can not be empty.'); |
|
110
|
110
|
} |
Please login to merge, or discard this patch.