feat: changed json output file name to path
https://github.com/adrienverge/yamllint/pull/442#issuecomment-1030572919
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user