[F] Disable SC2162: read without -r will mangle backslashes

This commit is contained in:
Azalea (on HyDEV-Daisy) 2022-09-05 17:33:27 -04:00
parent 239bb8e458
commit f54c45fbd0
No known key found for this signature in database
GPG key ID: E289FAC0DA92DD2B

View file

@ -4712,6 +4712,8 @@ print_ascii() {
then then
lines=$ascii_lines lines=$ascii_lines
else else
# shellcheck disable=SC2162
# Reading without -r here is intentional. See https://github.com/dylanaraps/neofetch/pull/1543
while IFS=$'\n' read line; do while IFS=$'\n' read line; do
line=${line//█/ } line=${line//█/ }
# Fast method to strip codes # Fast method to strip codes