From 6f20b9ece71984f1a11469e65ede8accda05653e Mon Sep 17 00:00:00 2001 From: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Date: Tue, 1 Feb 2022 05:56:10 +0100 Subject: [PATCH] fix(CI/Misc): Make CodeFactor happy (#10468) --- apps/ci/ci-pending-sql.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/ci/ci-pending-sql.sh b/apps/ci/ci-pending-sql.sh index 23fcec4fa..22c41e02e 100644 --- a/apps/ci/ci-pending-sql.sh +++ b/apps/ci/ci-pending-sql.sh @@ -15,14 +15,14 @@ function import() { updPath="$UPDATES_PATH/$folder" archivedPath="$AC_PATH_ROOT/data/sql/archive/$folder/5.x" - latestUpd=`ls -1 $updPath/ | tail -n 1` + latestUpd=$(ls -1 $updPath/ | tail -n 1) if [ -z $latestUpd ]; then - latestUpd=`ls -1 $archivedPath/ | tail -n 1` + latestUpd=$(ls -1 $archivedPath/ | tail -n 1) echo "> Last update file for db $db is missing! Using archived file" $latestUpd fi - dateToday=`date +%Y_%m_%d` + dateToday=$(date +%Y_%m_%d) counter=0 dateLast=$latestUpd