Skip to content

Commit

Permalink
Merge pull request #154 from sap-contributions/jvm-version-fix-log
Browse files Browse the repository at this point in the history
Fix log message prints "METADATA.MF" instead of "MANIFEST.MF"
  • Loading branch information
Daniel Mikusa authored Mar 21, 2022
2 parents 548cea7 + 62ccb6d commit 929ad6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jvm_version.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func (jvmVersion JVMVersion) GetJVMVersion(appPath string, cr libpak.Configurati
if len(javaVersion) > 0 {
javaVersionFromMaven := extractMajorVersion(javaVersion)
f := color.New(color.Faint)
jvmVersion.Logger.Body(f.Sprintf("Using Java version %s extracted from METADATA.MF", javaVersionFromMaven))
jvmVersion.Logger.Body(f.Sprintf("Using Java version %s extracted from MANIFEST.MF", javaVersionFromMaven))
return javaVersionFromMaven, nil
}
}
Expand Down

0 comments on commit 929ad6c

Please sign in to comment.