Corrected version detection, so that equal versions match

This commit is contained in:
notzippy@gmail.com
2020-04-26 09:57:35 -07:00
parent f2b54f5a69
commit c1aee24445
3 changed files with 6 additions and 4 deletions

View File

@@ -239,8 +239,8 @@ func (v *VersionCommand) updateLocalVersions() {
utils.Logger.Warn("Unable to extract version information from Revel library", "path",pathMap[model.RevelImportPath], "error",err)
return
}
utils.Logger.Info("Fullpath to revel", "dir", pathMap[model.RevelModulesImportPath])
v.revelVersion, err = v.versionFromFilepath(pathMap[model.RevelModulesImportPath])
utils.Logger.Info("Fullpath to revel modules", "dir", pathMap[model.RevelImportPath])
v.revelVersion, err = v.versionFromFilepath(pathMap[model.RevelImportPath])
if err != nil {
utils.Logger.Warn("Unable to extract version information from Revel", "error,err")
}