Skip to content

Commit 6dfacb0

Browse files
committed
Update variable names for ash update
1 parent 7880e07 commit 6dfacb0

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

lib/yaml_parse.sh

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,18 @@ YamlParse__parse() {
2828
}'
2929
}
3030

31-
3231
#################################################
3332
# @param $1: The yaml file to check if there is
3433
# a key
3534
# @param $2: The key to check if it exists
36-
# @echo: $Ash__true if the key exists,
37-
# $Ash__false otherwise
35+
# @echo: $Ash__TRUE if the key exists,
36+
# $Ash__FALSE otherwise
3837
#################################################
3938
YamlParse__has_key() {
4039
local line=$(grep -x "^$2:.*" "$1")
4140
if [[ "$line" != "" ]]; then
42-
echo "$Ash__true"
41+
echo "$Ash__TRUE"
4342
else
44-
echo "$Ash__false"
43+
echo "$Ash__FALSE"
4544
fi
4645
}

0 commit comments

Comments
 (0)