1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Add missing code to yamllint messages.

This commit is contained in:
Matt Clay 2018-01-16 16:07:22 -08:00
parent a7e27b74c9
commit 74d635ba6b

View file

@ -85,6 +85,7 @@ class YamllintTest(SanitySingleVersion):
results = json.loads(stdout)['messages'] results = json.loads(stdout)['messages']
results = [SanityMessage( results = [SanityMessage(
code=r['code'],
message=r['message'], message=r['message'],
path=r['path'], path=r['path'],
line=int(r['line']), line=int(r['line']),