fix: use correct variable for tasks

This commit is contained in:
Jose Diaz-Gonzalez committed 2025-11-08 00:09:07 -05:00
1 parent 12dbbda68c
commit 593a4c8170
1 file changed
+1 -1
+1 -1
View File
@@ -80,7 +80,7 @@ func FetchCronTasks(input FetchCronTasksInput) ([]CronTask, error) {
isMaintenance := reportComputedMaintenance(appName) == "true" isMaintenance := reportComputedMaintenance(appName) == "true"
if input.AppJSON == nil && input.AppName == "" { if input.AppJSON == nil && input.AppName == "" {
return commands, fmt.Errorf("Missing app name or app.json") return tasks, fmt.Errorf("Missing app name or app.json")
} }
if input.AppJSON == nil { if input.AppJSON == nil {