mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 05:10:22 -07:00
Return correct values when running yarn in check mode (#153)
* Fixes Check Mode * Adds parenthesis * Adds changelog and tests
This commit is contained in:
parent
02a032aa45
commit
54014529bd
3 changed files with 22 additions and 1 deletions
|
@ -218,7 +218,7 @@ class Yarn(object):
|
|||
rc, out, err = self.module.run_command(cmd, check_rc=check_rc, cwd=cwd)
|
||||
return out, err
|
||||
|
||||
return ''
|
||||
return(None, None)
|
||||
|
||||
def list(self):
|
||||
cmd = ['list', '--depth=0', '--json']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue