mirror of
https://github.com/packwiz/packwiz.git
synced 2025-10-25 09:54:31 +02:00
Fix component version message in cf import (fixes #90)
This commit is contained in:
@@ -173,7 +173,7 @@ var importCmd = &cobra.Command{
|
|||||||
if !ok {
|
if !ok {
|
||||||
fmt.Println("Set " + core.ComponentToFriendlyName(component) + " version to " + version)
|
fmt.Println("Set " + core.ComponentToFriendlyName(component) + " version to " + version)
|
||||||
} else if packVersion != version {
|
} else if packVersion != version {
|
||||||
fmt.Println("Set " + core.ComponentToFriendlyName(component) + " version to " + version + " (previously " + version + ")")
|
fmt.Println("Set " + core.ComponentToFriendlyName(component) + " version to " + version + " (previously " + packVersion + ")")
|
||||||
}
|
}
|
||||||
pack.Versions[component] = version
|
pack.Versions[component] = version
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user