From 3b44da323bc9f7d7ef0952bb55452072ca368353 Mon Sep 17 00:00:00 2001 From: teatimeguest Date: Thu, 22 Feb 2024 09:24:12 +0900 Subject: [PATCH] docs(api): remove duplicated entry for requires (#1491) --- docs/docs/api_reference.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/docs/api_reference.md b/docs/docs/api_reference.md index a62266b2..993591c0 100644 --- a/docs/docs/api_reference.md +++ b/docs/docs/api_reference.md @@ -241,7 +241,6 @@ vars: | `sources` | `[]string` | | A list of sources to check before running this task. Relevant for `checksum` and `timestamp` methods. Can be file paths or star globs. | | `generates` | `[]string` | | A list of files meant to be generated by this task. Relevant for `timestamp` method. Can be file paths or star globs. | | `status` | `[]string` | | A list of commands to check if this task should run. The task is skipped otherwise. This overrides `method`, `sources` and `generates`. | -| `requires` | `[]string` | | A list of variables which should be set if this task is to run, if any of these variables are unset the task will error and not run. | | `preconditions` | [`[]Precondition`](#precondition) | | A list of commands to check if this task should run. If a condition is not met, the task will error. | | `requires` | [`Requires`](#requires) | | A list of required variables which should be set if this task is to run, if any variables listed are unset the task will error and not run. | | `dir` | `string` | | The directory in which this task should run. Defaults to the current working directory. |