From f32e2eee4f2162b9bc0c779b433a6d42c0b07026 Mon Sep 17 00:00:00 2001 From: Edward Firmo <94725493+edwardtfn@users.noreply.github.com> Date: Sat, 21 Dec 2024 17:14:00 +0100 Subject: [PATCH] Add quotes around file path in cat command Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- versioning/bump_version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versioning/bump_version.sh b/versioning/bump_version.sh index 6cd72c6..3c51f7c 100644 --- a/versioning/bump_version.sh +++ b/versioning/bump_version.sh @@ -5,7 +5,7 @@ VERSION_YAML_FILE="./versioning/VERSION_YAML" # Read the current version if [ -f "$VERSION_FILE" ]; then - CURRENT_VERSION=$(cat $VERSION_FILE) + CURRENT_VERSION=$(cat "$VERSION_FILE") else CURRENT_VERSION="0.0.0" # Default if file doesn't exist fi