Skip to content

Commit

Permalink
[console] Minor code fixes. (#3583)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmolivas authored Nov 13, 2017
1 parent 19359e6 commit f27d0c2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 2 additions & 1 deletion bin/drupal.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
}
$argvInputReader->setOptionsAsArgv();

if ($debug){
if ($debug) {
$io->writeln(
sprintf(
'<info>%s</info> version <comment>%s</comment>',
Expand All @@ -84,4 +84,5 @@
}

$application = new Application($container);
$application->setDrupal($drupal);
$application->run();
5 changes: 0 additions & 5 deletions src/Bootstrap/Drupal.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,6 @@ public function boot()
}
}

// $rebuildServicesFile = false;
// if ($command=='cache:rebuild' || $command=='cr') {
// $rebuildServicesFile = true;
// }

if ($debug) {
$io->writeln('➤ Creating request');
}
Expand Down
1 change: 1 addition & 0 deletions uninstall.services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ services:
console.extension_manager:
class: Drupal\Console\Extension\Manager
arguments: ['@console.site', '@http_client', '@app.root']
# Commands
console.server:
class: Drupal\Console\Command\ServerCommand
arguments: ['@app.root', '@console.configuration_manager']
Expand Down

0 comments on commit f27d0c2

Please sign in to comment.