Skip to content

Commit

Permalink
Have the OutGeneratorConfig.Input also include Interactive (#112)
Browse files Browse the repository at this point in the history
This section did not include the interactive options, so we were failing
to compile when generating `.out`s.
  • Loading branch information
lhchavez authored Jan 24, 2023
1 parent 49bbb9b commit 911cf24
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions runner/ci/ci.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 911cf24

Please sign in to comment.