diff options
author | 2020-02-23 09:41:07 -0800 | |
---|---|---|
committer | 2020-02-23 09:41:23 -0800 | |
commit | 226413a9705aa8119a0b8f66418b7e02ab76cb65 (patch) | |
tree | cac8d7d53e3e32e3f20125662ceef4604ab0303c /scripts/dev.sh | |
parent | CI: output flake8 to stdout (resolve #37) (diff) |
CI: fix can_pull causing script to exit with code 1
Error handling is performed inside can_pull so the callers of the
function don't always check its exit code. Because set -e present, if
can_pull returns 1, bash would consider that function a failed call and
thus exit the entire script with code 1. That, in turn, would cause the
CI job to fail.
Diffstat (limited to 'scripts/dev.sh')
0 files changed, 0 insertions, 0 deletions