mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-21 00:02:30 +00:00
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:
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) }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user