Skip to content

Commit

Permalink
fix: forgot to remove the InstallObjectCacheCommand
Browse files Browse the repository at this point in the history
  • Loading branch information
carlalexander committed Nov 30, 2022
1 parent 9749446 commit 51080e4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Configuration/ConsoleConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,8 @@ public function modify(Container $container)
return new LambdaClient($container['ymir_http_client'], $container['cloud_provider_function_name'], $container['cloud_provider_key'], $container['cloud_provider_region'], $container['cloud_provider_secret'], $container['site_url']);
});
$container['is_wp_cli'] = defined('WP_CLI') && WP_CLI;
$container['local_commands'] = $container->service(function (Container $container) {
return [
new Console\InstallObjectCacheCommand($container['content_directory'], $container['filesystem'], $container['plugin_dir_path']),
];
$container['local_commands'] = $container->service(function () {
return [];
});
}
}

0 comments on commit 51080e4

Please sign in to comment.