epgstation: make updateScript create EditorConfig-compliant files

This commit is contained in:
midchildan 2022-02-14 05:19:16 +09:00
parent 561c0c2851
commit 697ea7c69c
No known key found for this signature in database
GPG Key ID: A64DE57FA5963935
2 changed files with 4 additions and 1 deletions

View File

@ -137,4 +137,4 @@
}
}
}
}
}

View File

@ -58,5 +58,8 @@ in writers.writeBash "update-epgstation" ''
${yq}/bin/yq -j '{ urlscheme , stream }' \
"$SRC/config/config.yml.template" \
> streaming.json
# Fix generated output for EditorConfig compliance
printf '\n' >> streaming.json # rule: insert_final_newline
popd
''