mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-06-30 07:50:43 +00:00
composer: restore compatibility with older composer versions (#12339)
* Restore compatibility. * Adjust tests.
This commit is contained in:
parent
77e1e047b8
commit
2354b40d10
3 changed files with 10 additions and 8 deletions
|
|
@ -189,7 +189,7 @@ def composer_command(module, command, arguments=None, options=None):
|
|||
working_dir_option = []
|
||||
else:
|
||||
global_arg = []
|
||||
working_dir_option = ["--working-dir", module.params["working_dir"]]
|
||||
working_dir_option = [f"--working-dir={module.params['working_dir']}"]
|
||||
|
||||
if module.params["executable"] is None:
|
||||
php_path = module.get_bin_path("php", True, ["/usr/local/bin"])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue