Archived
1
0

chore: update formatting w/new prettier sh plugin

This commit is contained in:
Joe Previte
2021-03-15 15:36:31 -07:00
parent 0ba53b6adf
commit d05389880a
15 changed files with 45 additions and 46 deletions

View File

@ -35,10 +35,10 @@ main() {
# This escapes all newlines so that sed will accept them.
favicon_dark_style="$(printf "%s\n" "$favicon_dark_style" | sed -e ':a' -e 'N' -e '$!ba' -e 's/\n/\\n/g')"
sed "$(
cat -n << EOF
cat -n <<EOF
s%<rect id="favicon"%$favicon_dark_style<rect id="favicon"%
EOF
)" favicon.svg > favicon-dark-support.svg
)" favicon.svg >favicon-dark-support.svg
}
main "$@"