From 0f32a441316d42d96193f3b53ca7de8c62a97c61 Mon Sep 17 00:00:00 2001 From: Anthony Accioly <anthony.accioly@gmail.com> Date: Sat, 3 Jul 2021 20:50:13 +0000 Subject: [PATCH] Disable shellcheck warning for explicit word splitting. --- bin/list-all | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/list-all b/bin/list-all index 1f02d1f..9f62f85 100755 --- a/bin/list-all +++ b/bin/list-all @@ -15,4 +15,6 @@ function sort_versions() { # Fetch all tag names, and get only second column. Then remove all unnecesary characters. versions=$(eval "$cmd" | grep -oE "tag_name\": *\".{1,15}\"," | sed 's/tag_name\": *\"//;s/\",//' | sort_versions) + +# shellcheck disable=SC2086 # Intended splitting of versions echo $versions -- GitLab