Add LogSuccess
This commit is contained in:
@@ -74,6 +74,7 @@ func (instruction *LinkInstruction) Undo() {
|
||||
LogError("could not remove symlink at %s; err: %v",
|
||||
FormatTargetPath(instruction.Target), err)
|
||||
}
|
||||
LogSuccess("Removed symlink at %s", FormatTargetPath(instruction.Target))
|
||||
} else {
|
||||
LogInfo("%s is not a symlink, skipping", FormatTargetPath(instruction.Target))
|
||||
}
|
||||
@@ -254,7 +255,7 @@ func (instruction *LinkInstruction) RunAsync(status chan (error)) {
|
||||
err)
|
||||
return
|
||||
}
|
||||
LogInfo("Created symlink between %s and %s",
|
||||
LogSuccess("Created symlink between %s and %s",
|
||||
FormatSourcePath(instruction.Source),
|
||||
FormatTargetPath(instruction.Target))
|
||||
|
||||
|
Reference in New Issue
Block a user