Use consistent syntax for Bash function declarations

This commit is contained in:
Kamil Śliwak
2021-11-08 16:34:07 +01:00
parent bc2402e76f
commit 7ccdbd5b08
17 changed files with 57 additions and 45 deletions
+4 -2
View File
@@ -1,11 +1,13 @@
#!/usr/bin/env bash
set -e
function error() {
function error
{
echo >&2 "ERROR: ${1} Aborting." && false
}
function warning() {
function warning
{
echo >&2 "WARNING: ${1}"
}