1
0
mirror of https://github.com/go-task/task.git synced 2025-08-08 22:36:57 +02:00

fix: malformed defer definition in JSON Schema

The `defer` definition listed `"string"` where `{"type":"string"}`
was wanted.
This commit is contained in:
Stephen Rosen
2024-01-18 12:07:49 -06:00
committed by Andrey Nering
parent 149f6fe233
commit d6b9b30804

View File

@@ -348,7 +348,9 @@
"defer": {
"description": "Run a command when the task completes. This command will run even when the task fails",
"anyOf": [
"string",
{
"type": "string"
},
{
"type": "object",
"properties": {