feat: changed json output file name to path

https://github.com/adrienverge/yamllint/pull/442#issuecomment-1030572919
This commit is contained in:
QuentinN42
2022-02-05 10:34:34 +01:00
parent 805b9a9739
commit 6a06e8d512

View File

@@ -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):