Skip to content

Commit

Permalink
Copy the interactive templates to the distributable settings
Browse files Browse the repository at this point in the history
This should be the very last step in the migration.
  • Loading branch information
lhchavez committed Dec 29, 2018
1 parent aa8cbcd commit 619df71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -815,6 +815,7 @@ func validateUpdateMaster(
if problemSettings.Interactive != nil {
problemDistribSettings.Interactive = &common.LiteralInteractiveSettings{
IDLSource: string(idlFileContents),
Templates: problemSettings.Interactive.Templates,
ModuleName: problemSettings.Interactive.ModuleName,
ParentLang: problemSettings.Interactive.ParentLang,
MainSource: string(mainDistribSourceContents),
Expand Down
1 change: 1 addition & 0 deletions handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1675,6 +1675,7 @@ func TestInteractive(t *testing.T) {
&FakeInteractiveSettingsCompiler{
Settings: &common.InteractiveSettings{
Interfaces: map[string]map[string]*common.InteractiveInterface{},
Templates: map[string]string{},
Main: "",
ModuleName: "",
ParentLang: "",
Expand Down

0 comments on commit 619df71

Please sign in to comment.