From 911cf24b7b19f5fdaf0aa563829eed6642d2020e Mon Sep 17 00:00:00 2001 From: lhchavez Date: Mon, 23 Jan 2023 20:14:12 -0800 Subject: [PATCH] Have the `OutGeneratorConfig.Input` also include `Interactive` (#112) This section did not include the interactive options, so we were failing to compile when generating `.out`s. --- runner/ci/ci.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/runner/ci/ci.go b/runner/ci/ci.go index 881ecc8..326fe55 100644 --- a/runner/ci/ci.go +++ b/runner/ci/ci.go @@ -726,9 +726,10 @@ func NewRunConfig(files common.ProblemFiles, generateOutputFiles bool) (*RunConf config.OutGeneratorConfig = &OutGeneratorConfig{ Solution: *solution, Input: &common.LiteralInput{ - Cases: make(map[string]*common.LiteralCaseSettings), - Limits: config.Input.Limits, - Validator: config.Input.Validator, + Cases: make(map[string]*common.LiteralCaseSettings), + Limits: config.Input.Limits, + Validator: config.Input.Validator, + Interactive: config.Input.Interactive, }, } for _, filename := range files.Files() {