Commit e4268295 authored by Michael Große's avatar Michael Große
Browse files

Stop printing success update notes twice

If the update was a success, then that update message is also printed in

In general the code in internal should not print to the console.
However, since execution stops there if the update was not a success,
the output is moved into that if-condition to keep showing the error
message to the user before the program exits.
parent 4a56b8e9
......@@ -95,8 +95,8 @@ func UpdateFromAddshore(currentVersion string, gitSummary string, verboseOutput
updateSuccess, updateMessage := UpdateFromAddshoreTo(*nextRelease, verboseOutput)
if !updateSuccess {
return updateSuccess, updateMessage
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment