mirror of
https://github.com/kevin-DL/revel-cmd.git
synced 2026-01-22 15:05:26 +00:00
Corrected version detection, so that equal versions match
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user