Disable SC2031 for the single incident.
This commit is contained in:
parent
a369acea72
commit
0d80b4473b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue