Disable SC2031 for the single incident.

This commit is contained in:
Darko Poljak 2018-10-05 15:04:22 +02:00
parent a369acea72
commit 0d80b4473b

View file

@ -17,7 +17,6 @@
# You should have received a copy of the GNU General Public License
# along with cdist. If not, see <http://www.gnu.org/licenses/>.
#
# shellcheck disable=SC2031
name="$(cat "$__object/parameter/name" 2>/dev/null || echo "$__object_id")"
state="$(cat "$__object/parameter/state")"
@ -37,6 +36,7 @@ if [ ! -f "$__object/parameter/source" ] && [ ! -f "$__object/parameter/source-f
fi
# Generate hcl config file
# shellcheck disable=SC2031
(
printf 'template {\n'
cd "$__object/parameter/"