mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 04:44:05 +02:00
GitHub bot: fix linting issues (nobuild)
This commit is contained in:
@@ -37,7 +37,7 @@ sanitize_variable() {
|
|||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
printf -v escaped '%q' "$raw"
|
printf -v escaped '%q' "$raw"
|
||||||
escaped="${escaped//\\ } }"
|
escaped="${escaped//\\ /} }"
|
||||||
# If nothing changed, return the original.
|
# If nothing changed, return the original.
|
||||||
if [[ "$raw" == "$escaped" ]]; then
|
if [[ "$raw" == "$escaped" ]]; then
|
||||||
printf '%s' "$raw"
|
printf '%s' "$raw"
|
||||||
|
|||||||
Reference in New Issue
Block a user