Bugfixes in confluence

This commit is contained in:
Stéphane Goetz 2015-07-15 11:06:01 +02:00 committed by Stéphane Goetz
parent 4f33394c77
commit 1f4f18dccf
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ class Publisher
try { try {
return $this->runAction($title, $this->output, $this->width, $closure); return $this->runAction($title, $this->output, $this->width, $closure);
} catch (BadResponseException $e) { } catch (BadResponseException $e) {
echo " X Failed with message: " . $e->getMessage() . "\n"; $this->output->writeLn(" <error>" . $e->getMessage() . "</error>");
} }
} }

View File

@ -39,7 +39,7 @@ class Command extends SymfonyCommand
switch(strtolower($input->getOption('format'))) { switch(strtolower($input->getOption('format'))) {
case 'confluence': case 'confluence':
(new ConfluenceGenerator())->generate($daux, $input->getOption('destination'), $output, $width); (new ConfluenceGenerator())->generate($daux, $output, $width);
break; break;
case 'html': case 'html':
default: default: