Skip to content

Commit

Permalink
3550 module download composer (#3551)
Browse files Browse the repository at this point in the history
  • Loading branch information
novia713 authored and jmolivas committed Oct 28, 2017
1 parent 4093a57 commit bfeace7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Command/Module/DownloadCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
}

// Register composer repository
$command = "composer config repositories.drupal composer https://packagist.drupal-composer.org";
$command = "composer config repositories.drupal composer https://packages.drupal.org/8";
$this->shellProcess->exec($command, $this->root);

$command = sprintf(
Expand Down
2 changes: 1 addition & 1 deletion src/Command/Module/UpdateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ protected function execute(InputInterface $input, OutputInterface $output)

if ($composer) {
// Register composer repository
$command = "composer config repositories.drupal composer https://packagist.drupal-composer.org";
$command = "composer config repositories.drupal composer https://packages.drupal.org/8";
$this->shellProcess->exec($command, $this->root);

$command = 'composer update ' . $modules . ' --optimize-autoloader --prefer-dist --no-dev --root-reqs ';
Expand Down

0 comments on commit bfeace7

Please sign in to comment.