Maintenance: Activate ShellCheck also for 'function' files without '.sh' extension.
This commit is contained in:
parent
064181815e
commit
341bdd6eb9
2 changed files with 3 additions and 2 deletions
|
@ -19,7 +19,7 @@ shellcheck:
|
|||
before_script:
|
||||
- echo "Disable default before_script."
|
||||
script:
|
||||
- shellcheck -S warning $(find . -name "*.sh" | grep -v "/vendor/")
|
||||
- shellcheck -S warning $(find . -name "*.sh" -o -name "functions" | grep -v "/vendor/")
|
||||
|
||||
coffeelint:
|
||||
<<: *template_pre
|
||||
|
|
|
@ -50,7 +50,8 @@ function backup_files () {
|
|||
}
|
||||
|
||||
function create_pgpassfile() {
|
||||
export PGPASSFILE=$(mktemp)
|
||||
PGPASSFILE=$(mktemp)
|
||||
export PGPASSFILE
|
||||
chmod 600 "$PGPASSFILE"
|
||||
cat <<EOT > "$PGPASSFILE"
|
||||
*:*:${DB_NAME}:${DB_USER}:${DB_PASS}
|
||||
|
|
Loading…
Reference in a new issue