mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00: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:
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user