mirror of
https://github.com/appleboy/ssh-action.git
synced 2025-04-29 19:34:48 +02:00
chore: improve robustness and consistency across multiple scripts
- Combine `errexit`, `nounset`, and `pipefail` options into a single `set -euo pipefail` command Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
bd83ba7e2b
commit
0e19dd962d
1 changed files with 1 additions and 3 deletions
|
@ -1,8 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -o errexit
|
||||
set -o nounset
|
||||
set -o pipefail
|
||||
set -euo pipefail
|
||||
|
||||
export GITHUB="true"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue