Skip to content

Commit

Permalink
Fix log message prints "METADATA.MF" instead of "MANIFEST.MF"
Browse files Browse the repository at this point in the history
Co-authored-by: Philipp Stehle <philipp.stehle@sap.com>
  • Loading branch information
c0d1ngm0nk3y and phil9909 committed Mar 18, 2022
1 parent 548cea7 commit 62ccb6d
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 62ccb6d

Please sign in to comment.