Skip to content

Commit

Permalink
Fix failing TravisCI builds (#4165)
Browse files Browse the repository at this point in the history
* Update services.yml

* 1

* 2
  • Loading branch information
mondrake authored and enzolutions committed Oct 2, 2019
1 parent 2a941ff commit 0ae799f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
2 changes: 1 addition & 1 deletion config/services/theme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ services:
- { name: drupal.command }
console.theme_uninstall:
class: Drupal\Console\Command\Theme\UninstallCommand
arguments: ['@config.factory', '@theme_handler', '@console.chain_queue']
arguments: ['@config.factory', '@theme_handler', '@console.chain_queue', '@console.site', '@console.validator','@module_installer','@console.drupal_api','@console.extension_manager','@app.root']
tags:
- { name: drupal.command }
16 changes: 0 additions & 16 deletions src/Utils/Validator.php
Original file line number Diff line number Diff line change
Expand Up @@ -315,22 +315,6 @@ public function getMissingModules($moduleList)
return array_diff($moduleList, $modules);
}

/**
* @param $moduleList
* @return array
*/
public function getMissingThemes($moduleList)
{

$modules = $this->extensionManager->discoverThemes()
->showInstalled()
->showUninstalled()
->showNoCore()
->showCore()
->getList(true);

return array_diff($moduleList, $modules);
}
/**
* @param $moduleList
* @return array
Expand Down

0 comments on commit 0ae799f

Please sign in to comment.