Restore unintentional changes
@@ -143,9 +143,9 @@ func DoInit(ctx context.Context, out io.Writer, c Config) error {
if c.Analyze {
// TODO: Remove backwards compatibility block
- // if !c.EnableJibInit {
- // return printAnalyzeJSONNoJib(out, c.SkipBuild, pairs, unresolvedBuilderConfigs, unresolvedImages)
- // }
+ if !c.EnableJibInit {
+ return printAnalyzeJSONNoJib(out, c.SkipBuild, pairs, unresolvedBuilderConfigs, unresolvedImages)
+ }
return printAnalyzeJSON(out, c.SkipBuild, pairs, unresolvedBuilderConfigs, unresolvedImages)
}
