Skip to content

Commit

Permalink
remove log statements for compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
hsubramanianaks committed Jun 8, 2023
1 parent 958b352 commit dd918aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ func (cc *createCmd) detectDefaults(detectedLang *config.DraftConfig, lowerLang
Value: detectedVersion,
}
detectedDefaults = append(detectedDefaults, builderVarDefault)
log.Info("Detected VERSION is %s from build.gradle for %s project", detectedVersion, lowerLang)
//log.Info("Detected VERSION is %q from build.gradle for %s project", detectedVersion, lowerLang)
}

if strings.Contains(line, "targetCompatibility") {
Expand All @@ -469,7 +469,7 @@ func (cc *createCmd) detectDefaults(detectedLang *config.DraftConfig, lowerLang
Value: detectedBuilderVersion,
}
detectedDefaults = append(detectedDefaults, detectedBuilderVar)
log.Info("Detected BUILDER VERSION is %s from build.gradle for %s project", detectedBuilderVersion, lowerLang)
//log.Info("Detected BUILDER VERSION is %s from build.gradle for %s project", detectedBuilderVersion[0], lowerLang)
}
detectedLang.DetectedDefaults = detectedDefaults
}
Expand Down

0 comments on commit dd918aa

Please sign in to comment.