mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Clarify that RETURN is a form of documentation
This commit is contained in:
parent
fca2f088ea
commit
ef55f9a243
1 changed files with 1 additions and 1 deletions
|
@ -437,7 +437,7 @@ class ModuleValidator(Validator):
|
|||
self.errors.append('No EXAMPLES provided')
|
||||
if not bool(ret):
|
||||
if self._is_new_module():
|
||||
self.errors.append('No RETURN provided')
|
||||
self.errors.append('No RETURN documentation provided')
|
||||
else:
|
||||
self.warnings.append('No RETURN provided')
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue