From 2c6897f27580ad83db35eeb28dbe4396e0520f8c Mon Sep 17 00:00:00 2001 From: Bill Monkman Date: Fri, 5 Jun 2020 16:22:09 -0700 Subject: [PATCH] Update internal/context/init.go Preserve backward compatibility Co-authored-by: David Cheung --- internal/context/init.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/internal/context/init.go b/internal/context/init.go index 8732f6244..87c11b60e 100644 --- a/internal/context/init.go +++ b/internal/context/init.go @@ -51,7 +51,9 @@ func Init(projectName string, outDir string) *projectconfig.ZeroProjectConfig { } projectParameters := promptAllModules(moduleConfig) - for _ = range projectParameters { + + for k, v = range projectParameters { + projectConfig.Context[k] = v // TODO: Add parameters to module structs inside project }