Skip to content

Commit

Permalink
Add set -euo pipefail to not ignore errors in scripts (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-kuznetsov-hypertrack authored Jan 25, 2024
1 parent e21bf1f commit 082c0d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions scripts/update_changelog.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
set -euo pipefail

while [ "$#" -gt 0 ]; do
case "$1" in
Expand Down
1 change: 1 addition & 0 deletions scripts/update_file.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
set -euo pipefail

# Check if params are provided
if [ $# -ne 3 ]; then
Expand Down

0 comments on commit 082c0d0

Please sign in to comment.