feat: changed json output file name to path

https://github.com/adrienverge/yamllint/pull/442#issuecomment-1030572919
pull/442/head
QuentinN42 3 years ago
parent 805b9a9739
commit 6a06e8d512
No known key found for this signature in database
GPG Key ID: 2CD7D563712B3A50

@ -238,7 +238,7 @@ class JSONFormater(Formater):
def show_problem(self, problem, file):
"""Show all problems of a specific file."""
return {**problem.dict, "file": file}
return {**problem.dict, "path": file}
class JunitFormater(Formater):

Loading…
Cancel
Save