Skip to content

docs: document set -e/errexit and : null command in deno task shell#3153

Merged
bartlomieju merged 1 commit into
2.8from
docs-2.8-task-posix
May 22, 2026
Merged

docs: document set -e/errexit and : null command in deno task shell#3153
bartlomieju merged 1 commit into
2.8from
docs-2.8-task-posix

Conversation

@bartlomieju
Copy link
Copy Markdown
Member

The deno task shell picked up two POSIX features in 2.8 that weren't reflected
in the docs: set -e / set -o errexit (with set +e to turn it back off) aborts a
sequential list on the first non-zero exit, and : is now a built-in null
command. Both are useful when porting shell scripts into tasks blocks without
falling back to sh -c. Adds errexit to the shell options list with an example
and lists : alongside the other built-in commands.

@bartlomieju bartlomieju reopened this May 22, 2026
@bartlomieju bartlomieju merged commit dad089b into 2.8 May 22, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant