1
0
mirror of https://github.com/go-task/task.git synced 2025-02-13 13:59:32 +02:00

fix: incorrect schema type for interval

- Fixes #962
This commit is contained in:
Pete Davison 2022-12-23 00:34:08 +00:00
parent 0a9d76515e
commit 01c9158120

View File

@ -370,7 +370,8 @@
},
"interval": {
"description": "Sets a different watch interval when using `--watch`, the default being 5 seconds. This string should be a valid Go duration: https://pkg.go.dev/time#ParseDuration.",
"$ref": "#/definitions/3/run"
"type": "string",
"pattern": "^[0-9]+(?:m|s|ms)$"
}
},
"additionalProperties": false,