Disable SC2031 for the single incident.

remotes/origin/4.10
Darko Poljak 6 years ago
parent a369acea72
commit 0d80b4473b
  1. 2
      cdist/conf/type/__consul_template_template/manifest

@ -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/"

Loading…
Cancel
Save