Skip to content

Commit e6d2a0f

Browse files
author
Mrunal Patel
authored
Merge pull request #685 from Mashimiao/config-fix-and-hook-args
config.md: args of Hooks should be optional
2 parents 21f7998 + fcd6209 commit e6d2a0f

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ Hooks allow for the configuration of custom actions related to the [lifecycle](r
329329
Entries in the array contain the following properties:
330330
* **`path`** (string, REQUIRED) with similar semantics to [IEEE Std 1003.1-2001 `execv`'s *path*][ieee-1003.1-2001-xsh-exec].
331331
This specification extends the IEEE standard in that **`path`** MUST be absolute.
332-
* **`args`** (array of strings, REQUIRED) with the same semantics as [IEEE Std 1003.1-2001 `execv`'s *argv*][ieee-1003.1-2001-xsh-exec].
332+
* **`args`** (array of strings, OPTIONAL) with the same semantics as [IEEE Std 1003.1-2001 `execv`'s *argv*][ieee-1003.1-2001-xsh-exec].
333333
* **`env`** (array of strings, OPTIONAL) with the same semantics as [IEEE Std 1003.1-2001's `environ`][ieee-1003.1-2001-xbd-c8.1].
334334
* **`timeout`** (int, OPTIONAL) is the number of seconds before aborting the hook.
335335
* **`poststart`** (array, OPTIONAL) is an array of [post-start hooks](#poststart).

schema/defs.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@
9595
}
9696
},
9797
"required": [
98-
"args",
9998
"path"
10099
]
101100
},

0 commit comments

Comments
 (0)