From 06e253f62f614a128dd8d37aaa72e867b9ae1487 Mon Sep 17 00:00:00 2001 From: YaroShkvorets Date: Fri, 1 Mar 2024 23:06:57 -0500 Subject: [PATCH] fix sync script --- Taskfile.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Taskfile.yaml b/Taskfile.yaml index 01e6bdc..b9d57cb 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -167,7 +167,7 @@ tasks: git fetch --all &> /dev/null MERGE_RESULT=$(git merge --no-commit --no-ff template/main &>/dev/null || echo "Merge conflicts.") - if [[ $MERGE_RESULT =~ "Already up to date." ]]; then + if [[ "$MERGE_RESULT" =~ "Already up to date." ]]; then echo "No template changes to sync"; exit 0; fi