mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-08-09 22:52:30 +02:00
GitHub bot: fix linting issues (nobuild)
This commit is contained in:
@@ -75,7 +75,7 @@ dq_escape() {
|
||||
while IFS= read -r LINE; do
|
||||
[[ -z "$LINE" || "$LINE" != *=* ]] && continue
|
||||
# Escape special characters not within single quotes
|
||||
LINE=$(sed -E "s/([^'])([][\$\`\"\\!&;|<>])/\1\\\\\\2/g" <<< "$LINE")
|
||||
LINE=$(sed -E "s/([^'])([][\$\`\"\\!&;|<>])/\1\\\\\\2/g" <<<"$LINE")
|
||||
KEY="${LINE%%=*}"
|
||||
VALUE="${LINE#*=}"
|
||||
# !secret handling
|
||||
|
||||
Reference in New Issue
Block a user