Merge pull request #295 from jails/patch-1
composer: Fixes changed status
This commit is contained in:
commit
46e316a20a
1 changed files with 2 additions and 1 deletions
|
@ -159,7 +159,8 @@ def main():
|
||||||
output = parse_out(err)
|
output = parse_out(err)
|
||||||
module.fail_json(msg=output)
|
module.fail_json(msg=output)
|
||||||
else:
|
else:
|
||||||
output = parse_out(out)
|
# Composer version > 1.0.0-alpha9 now use stderr for standard notification messages
|
||||||
|
output = parse_out(out + err)
|
||||||
module.exit_json(changed=has_changed(output), msg=output)
|
module.exit_json(changed=has_changed(output), msg=output)
|
||||||
|
|
||||||
# import module snippets
|
# import module snippets
|
||||||
|
|
Loading…
Reference in a new issue