Skip to content

Commit 2c6897f

Browse files
Update internal/context/init.go
Preserve backward compatibility Co-authored-by: David Cheung <davidcheung@live.ca>
1 parent f363ba0 commit 2c6897f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

internal/context/init.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ func Init(projectName string, outDir string) *projectconfig.ZeroProjectConfig {
5151
}
5252

5353
projectParameters := promptAllModules(moduleConfig)
54-
for _ = range projectParameters {
54+
55+
for k, v = range projectParameters {
56+
projectConfig.Context[k] = v
5557
// TODO: Add parameters to module structs inside project
5658
}
5759

0 commit comments

Comments
 (0)