Skip to content

Commit

Permalink
Update NewCommand.php
Browse files Browse the repository at this point in the history
  • Loading branch information
engram-design authored Oct 29, 2021
1 parent 84823d4 commit 8f158a1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/NewCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,6 @@ protected function execute(InputInterface $input, OutputInterface $output)
// Setup temp directory to allow installing at `.`
$tempDirectory = $directory === '.' ? './temp' : $directory;

// Add our private repo to composer, globally - automatically
$commands[] = $composer . ' --global config repositories.sgroup composer https://composer.sgroup.com.au';

// Create a project via composer, using the base-craft3 repo
$commands[] = $composer . " create-project sgroup/base-craft \"$tempDirectory\" $version --remove-vcs";

Expand Down Expand Up @@ -175,4 +172,4 @@ protected function runCommands($commands, InputInterface $input, OutputInterface

return $process;
}
}
}

0 comments on commit 8f158a1

Please sign in to comment.