fix: keep a new schedule's template readable after its first load

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ViTUkt4czrvZdxdWwxqRAQ
This commit is contained in:
Diego Imbert
2026-09-11 18:04:47 +02:00
co-authored by Claude Opus 5
parent 82c2b057d1
commit 29d1ab3850
@@ -185,7 +185,6 @@
async load({ workspace, path }) {
if (isTemporaryPath(path)) {
const opts = newTemplates.get(path)
newTemplates.delete(path)
if (!opts) throw new Error('No template for this schedule')
return { template: await newScheduleCfg(opts) }
}