mirror of
https://github.com/go-task/task.git
synced 2025-11-27 22:38:20 +02:00
fix: malformed defer definition in JSON Schema
The `defer` definition listed `"string"` where `{"type":"string"}`
was wanted.
This commit is contained in:
committed by
Andrey Nering
parent
149f6fe233
commit
d6b9b30804
4
docs/static/schema.json
vendored
4
docs/static/schema.json
vendored
@@ -348,7 +348,9 @@
|
|||||||
"defer": {
|
"defer": {
|
||||||
"description": "Run a command when the task completes. This command will run even when the task fails",
|
"description": "Run a command when the task completes. This command will run even when the task fails",
|
||||||
"anyOf": [
|
"anyOf": [
|
||||||
"string",
|
{
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|||||||
Reference in New Issue
Block a user