Skip to content

Commit 7315d94

Browse files
authored
remove install command if download is disabled (#39)
When setting `download_binary` to `false` the following exception is thrown: `The service ".sensiolabs_minify.command.minify_install" has a dependency on a non-existent service ".sensiolabs_minify.minifier.minify_installer". Did you mean this: "sensiolabs_minify.minifier.minify"?` So the install command should also be removed if `download_binary` is `false`. Signed-off-by: araab <araab@users.noreply.github.com>
1 parent 57b284c commit 7315d94

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/SensiolabsMinifyBundle.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ public function loadExtension(array $config, ContainerConfigurator $container, C
5959
if (!$config['minify']['download_binary']) {
6060
$container->services()
6161
->remove('.sensiolabs_minify.minifier.minify_installer')
62+
->remove('.sensiolabs_minify.command.minify_install')
6263
;
6364
}
6465

0 commit comments

Comments
 (0)