From 4347996ab018d40c0af2a0e1f07d9ea2434b3b08 Mon Sep 17 00:00:00 2001 From: ingalls Date: Thu, 31 Oct 2024 11:11:10 -0600 Subject: [PATCH] Fix assignment --- persist.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/persist.ts b/persist.ts index 6652484..cb2f04b 100644 --- a/persist.ts +++ b/persist.ts @@ -9,7 +9,7 @@ cron.schedule('0,10,20,30,40,50 * * * * *', async () => { base.paths = {}; - const config = YAML.stringify(base, (key, value) => { + let config = YAML.stringify(base, (key, value) => { if (typeof value === 'boolean') { return value === true ? 'yes' : 'no' } else {