chore: explain dry run
parent
43d228a258
commit
a258b7bfef
|
@ -197,6 +197,8 @@ func (a *action) runUpgradeModule(
|
||||||
|
|
||||||
// Upgrade module
|
// Upgrade module
|
||||||
if a.flags.dryRun {
|
if a.flags.dryRun {
|
||||||
|
// Only print which module will be upgrade
|
||||||
|
// Don't do anything
|
||||||
color.PrintAppOK(name, fmt.Sprintf("Will upgrade [%s] version [%s] to [%s]", module.Path, module.Version, module.Update.Version))
|
color.PrintAppOK(name, fmt.Sprintf("Will upgrade [%s] version [%s] to [%s]", module.Path, module.Version, module.Update.Version))
|
||||||
return successUpgradedModules, nil
|
return successUpgradedModules, nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue