Skip to content

Commit

Permalink
☁️ chore(automation): Applying changes from upstream repository.
Browse files Browse the repository at this point in the history
  • Loading branch information
Megabyte Labs committed Aug 29, 2022
1 parent 371cfd8 commit 58d74ef
Show file tree
Hide file tree
Showing 10 changed files with 135 additions and 125 deletions.
6 changes: 4 additions & 2 deletions .config/bash/try-catch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@
# ```
# Source: https://stackoverflow.com/a/25180186`

Logger="${BASH_SOURCE}../log"
# shellcheck disable=SC2034
Logger="${BASH_SOURCE[0]}../log"

# @description Turn on fail on errors mode
function try() {
Expand All @@ -62,12 +63,13 @@ function try() {

# @description Turn on fail on errors mode
function throw() {
exit $1
exit "$1"
}

# @description Turn on fail on errors mode
function catch() {
export ex_code=$?
# shellcheck disable=SC2004
(( $SAVED_OPT_E )) && set +e
return $ex_code
}
Expand Down
1 change: 0 additions & 1 deletion .config/taskfiles/ansible/Taskfile-playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,6 @@ tasks:
*If you want their description to show up in this message, you will have to edit the appropriate
field in `package.json`.*
env:
MARKDOWN: '{{.MARKDOWN}}'
cmds:
Expand Down
2 changes: 1 addition & 1 deletion .config/taskfiles/docker/Taskfile-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ tasks:
- grep 'org.opencontainers.image.documentation' Dockerfile

# yamllint disable rule:line-length
# eslint-disable max-len

labels:update:
vars:
AUTHORS:
Expand Down
1 change: 0 additions & 1 deletion .config/taskfiles/release/Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ tasks:
status:
- '[ "$SNAP_PACKAGE" == "null" ]'

# eslint-disable max-len
analyze:
summary: |
| Command property | Description |
Expand Down
Loading

0 comments on commit 58d74ef

Please sign in to comment.