Add newline at end of registration to help shells

This commit is contained in:
Cadence Ember
2026-02-11 11:49:35 +13:00
parent cd0b8bff2b
commit 314f37f640

View File

@@ -22,7 +22,7 @@ function checkRegistration(reg) {
/* c8 ignore next 4 */
/** @param {import("../types").AppServiceRegistrationConfig} reg */
function writeRegistration(reg) {
fs.writeFileSync(registrationFilePath, JSON.stringify(reg, null, 2))
fs.writeFileSync(registrationFilePath, JSON.stringify(reg, null, 2) + "\n")
}
/**