Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Commit

Permalink
new version of shellcheck; new problems
Browse files Browse the repository at this point in the history
we bumped the version of shellcheck in the pcf-ops image so it complained about some new stuff

Signed-off-by: Panagiotis Xynos <panos@engineerbetter.com>
  • Loading branch information
crsimmons authored and Panagiotis Xynos committed Jan 21, 2019
1 parent ac867fc commit 41dff50
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ci/tasks/lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,7 @@ gometalinter \
--deadline=120s \
./...

find . -name vendor -prune ! -type d -o -name '*.sh' -exec shellcheck {} +
# Globally ignoring SC2154 as it doesn't play nice with variables
# set by Concourse for use in tasks.
# https://github.com/koalaman/shellcheck/wiki/SC2154
find . -name vendor -prune ! -type d -o -name '*.sh' -exec shellcheck -e SC2154 {} +
4 changes: 4 additions & 0 deletions ci/tasks/write-release-vars.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/bin/bash
# shellcheck disable=SC2091,SC2006

# Disabling SC2091 above because we want to print commands encased in $()
# Disabling SC2006 above because ``` code blocks are misinterpretted as shell execution

set -eu

Expand Down

0 comments on commit 41dff50

Please sign in to comment.