Skip to content

Commit f5899dd

Browse files
authored
Merge pull request composer#378 from stof/patch-2
Fix the disabling of Packagist
2 parents 2245fef + eeccff6 commit f5899dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Console/Command/BuildCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
158158
}
159159

160160
// disable packagist by default
161-
unset(Config::$defaultRepositories['packagist']);
161+
unset(Config::$defaultRepositories['packagist'], Config::$defaultRepositories['packagist.org']);
162162

163163
if (!$outputDir = $input->getArgument('output-dir')) {
164164
$outputDir = isset($config['output-dir']) ? $config['output-dir'] : null;

0 commit comments

Comments
 (0)