cleanup
This commit is contained in:
1 parent
c630293cc2
commit
8be63a9c83
1 file changed
+2
-8
@@ -696,10 +696,7 @@ loop:
|
||||
}
|
||||
|
||||
if errCount == 0 {
|
||||
echosuccess := &callExpr{"echo", []string{""}, 1}
|
||||
echosuccess.args[0] = "\033[0;32mCopied successfully\033[0m"
|
||||
|
||||
ui.exprChan <- echosuccess
|
||||
ui.exprChan <- &callExpr{"echo", []string{"\033[0;32mCopied successfully\033[0m"}, 1}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -799,10 +796,7 @@ func (nav *nav) moveAsync(ui *ui, srcs []string, dstDir string) {
|
||||
}
|
||||
|
||||
if errCount == 0 {
|
||||
echosuccess := &callExpr{"echo", []string{""}, 1}
|
||||
echosuccess.args[0] = "\033[0;32mMoved successfully\033[0m"
|
||||
|
||||
ui.exprChan <- echosuccess
|
||||
ui.exprChan <- &callExpr{"echo", []string{"\033[0;32mMoved successfully\033[0m"}, 1}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user