mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Clarify that RETURN is a form of documentation
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user