From 74f340ceae91dc3c92b0877d091f7f5c5a5288e9 Mon Sep 17 00:00:00 2001 From: Evilham Date: Thu, 18 Jun 2020 12:01:28 +0200 Subject: [PATCH] [__git] Silence SC2012 as it does not apply to this case. --- cdist/conf/type/__git/explorer/group | 1 + cdist/conf/type/__git/explorer/owner | 1 + 2 files changed, 2 insertions(+) diff --git a/cdist/conf/type/__git/explorer/group b/cdist/conf/type/__git/explorer/group index 9803c085..51f85a70 100755 --- a/cdist/conf/type/__git/explorer/group +++ b/cdist/conf/type/__git/explorer/group @@ -3,4 +3,5 @@ destination="/$__object_id/.git" # See: cdist/conf/type/__file/explorer/stat +# shellcheck disable=SC2012 ls -ld "$destination" | awk '{ print $4 }' diff --git a/cdist/conf/type/__git/explorer/owner b/cdist/conf/type/__git/explorer/owner index ea608c89..bf970847 100755 --- a/cdist/conf/type/__git/explorer/owner +++ b/cdist/conf/type/__git/explorer/owner @@ -3,4 +3,5 @@ destination="/$__object_id/.git" # See: cdist/conf/type/__file/explorer/stat +# shellcheck disable=SC2012 ls -ld "$destination" | awk '{ print $3 }'