#2 Fix the shellcheck SC2207 and remove the ignore declarative

Chiuso
aperto 3 anni fa da vaeringjar · 0 commenti
vaeringjar commented 3 anni fa

https://notabug.org/vaeringjar/fenrisg/src/main/src/build_rss.sh#L78

    IFS=$'\n' sorted=($(sort --reverse <<<"${arra2[*]}")); unset IFS
                      ^-- SC2207: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
https://notabug.org/vaeringjar/fenrisg/src/main/src/build_rss.sh#L78 ``` IFS=$'\n' sorted=($(sort --reverse <<<"${arra2[*]}")); unset IFS ^-- SC2207: Prefer mapfile or read -a to split command output (or quote to avoid splitting). ```
Sign in to join this conversation.
Nessuna etichetta
Nessuna milestone
Nessun assegnatario
1 Partecipanti
Caricamento...
Annulla
Salva
Non ci sono ancora contenuti.