Bash shell options for errors #60
Replies: 1 comment
-
Many WDL tasks are single (pipeless) commands. We should not warn about a missing I think this can tie into a future shellcheck call. I have not gone through the shellcheck docs, but they may have a warning that accomplishes the above more robustly than any implementation from us. If not, I'm sure someone has wanted this lint before and we can find a solution off the shelf somewhere. Basically, I think this is a lint we outsource as opposed to writing our own. But I have not searched yet to see whether there's tooling available for us. |
Beta Was this translation helpful? Give feedback.
-
We often use some variation of
set -euo pipefail
in our task declarations. It would be helpful to have a lint rule to catch if this is forgotten.For completeness here is the BASH man page for
set
.Beta Was this translation helpful? Give feedback.
All reactions