diff --git a/src/NewCommand.php b/src/NewCommand.php index eb9a75df..b74b378c 100644 --- a/src/NewCommand.php +++ b/src/NewCommand.php @@ -52,9 +52,7 @@ protected function execute(InputInterface $input, OutputInterface $output) $output->writeln('Crafting application...'); - $version = $this->getVersion($input); - - $this->download($zipFile = $this->makeFilename(), $version) + $this->download($zipFile = $this->makeFilename(), $this->getVersion($input)) ->extract($zipFile, $directory) ->prepareWritableDirectories($directory, $output) ->cleanUp($zipFile);