Add quotes around file path in cat command
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
@@ -5,7 +5,7 @@ VERSION_YAML_FILE="./versioning/VERSION_YAML"
|
|||||||
|
|
||||||
# Read the current version
|
# Read the current version
|
||||||
if [ -f "$VERSION_FILE" ]; then
|
if [ -f "$VERSION_FILE" ]; then
|
||||||
CURRENT_VERSION=$(cat $VERSION_FILE)
|
CURRENT_VERSION=$(cat "$VERSION_FILE")
|
||||||
else
|
else
|
||||||
CURRENT_VERSION="0.0.0" # Default if file doesn't exist
|
CURRENT_VERSION="0.0.0" # Default if file doesn't exist
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user