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