private function dumpPackagesJson($repo)
{
if (isset($this->config['notify-batch'])) {
$repo['notify-batch'] = $this->config['notify-batch'];
}
$this->output->writeln('<info>Writing packages.json</info>');
$repoJson = new JsonFile($this->filename);
$repoJson->write($repo);
}