diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-11-27 12:35:52 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-11-27 12:35:52 -0500 |
| commit | 8b897851facaa177e2346e0d97fcba7411dfc0aa (patch) | |
| tree | f2f3ef96a5628ec4d76c4097ef7c26a85f1d855a /api/builtins.yaml | |
| parent | 31c47caa0282cbdf43361a3c0f45fff9699a8814 (diff) | |
Update `setenv()` to take an optional value, also bugfix for `setenv()`
returning a value.
Diffstat (limited to 'api/builtins.yaml')
| -rw-r--r-- | api/builtins.yaml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/api/builtins.yaml b/api/builtins.yaml index 764a1bd4..af7c9319 100644 --- a/api/builtins.yaml +++ b/api/builtins.yaml @@ -157,9 +157,10 @@ setenv: description: > The name of the environment variable to set. value: - type: 'Text' + type: 'Text?' description: > - The new value of the environment variable. + The new value of the environment variable. If `none`, then the + environment variable will be unset. example: | setenv("FOOBAR", "xyz") |
