mirror of
https://github.com/getgrav/grav.git
synced 2025-10-26 07:56:07 +01:00
Fixed old setupCommand references
This commit is contained in:
@@ -33,11 +33,11 @@ class NewProjectCommand extends Command {
|
||||
protected function execute(InputInterface $input, OutputInterface $output)
|
||||
{
|
||||
|
||||
$setupCommand = $this->getApplication()->find('setup');
|
||||
$sandboxCommand = $this->getApplication()->find('sandbox');
|
||||
$installCommand = $this->getApplication()->find('install');
|
||||
|
||||
$setupArguments = new ArrayInput(array(
|
||||
'command' => 'setup',
|
||||
$sandboxArguments = new ArrayInput(array(
|
||||
'command' => 'sandbox',
|
||||
'destination' => $input->getArgument('destination'),
|
||||
'-s' => $input->getOption('symlink')
|
||||
));
|
||||
@@ -48,7 +48,7 @@ class NewProjectCommand extends Command {
|
||||
'-s' => $input->getOption('symlink')
|
||||
));
|
||||
|
||||
$setupCommand->run($setupArguments, $output);
|
||||
$sandboxCommand->run($sandboxArguments, $output);
|
||||
$installCommand->run($installArguments, $output);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user