Skip to content

Commit

Permalink
Add CodeTF failure state to result
Browse files Browse the repository at this point in the history
  • Loading branch information
drdavella committed May 28, 2024
1 parent 276b5c3 commit 9f7843f
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions codetf.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,21 @@
"description": "Vendor-specific properties to help storytelling",
"additionalProperties": true
},
"failure": {
"type": "object",
"description": "If present indicates that the codemod failed to run",
"properties": {
"reason": {
"type": "string",
"description": "A short description of why the codemod failed"
},
"exception": {
"type": "string",
"description": "More detailed information about the exception that caused the failure"
}
},
"required": ["reason"]
},
"failedFiles": {
"type": "array",
"description": "A set of file paths for files that the tool failed to parse or transform",
Expand Down

0 comments on commit 9f7843f

Please sign in to comment.