mirror of
https://github.com/go-task/task.git
synced 2026-06-19 22:15:04 +02:00
Merge pull request #965 from go-task/fix-interval-schema
fix: incorrect schema type for interval
This commit is contained in:
Vendored
+2
-1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user