aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaushal Subedi2015-10-26 21:34:07 -0600
committerKaushal Subedi2015-10-26 21:34:07 -0600
commit2f9e0376476ccd8e93cf3338bd9e9765445282ad (patch)
tree1e0109d2e9d8c26eadb5968f621c4841d4294dcb
parentb054b1484339660a0923322a2fc8f2ecfd8733ab (diff)
downloadgomove-2f9e0376476ccd8e93cf3338bd9e9765445282ad.tar.bz2
trimming spaces on console output messages
-rw-r--r--native.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/native.go b/native.go
index ada333a..04adc58 100644
--- a/native.go
+++ b/native.go
@@ -57,11 +57,11 @@ func ProcessFileNative(filePath string, from string, to string) {
fmt.Println(red+"Updating "+
reset+white+
- line+
+ strings.TrimSpace(line)+
reset+red+
" to "+
reset+white+
- newImport+
+ strings.TrimSpace(newImport)+
reset+red+
"on line", scanLine, reset)
}
@@ -86,11 +86,11 @@ func ProcessFileNative(filePath string, from string, to string) {
numChages++
fmt.Println(red+"Updating text "+
reset+white+
- line+
+ strings.TrimSpace(line)+
reset+red+
" to "+
reset+white+
- newImport+
+ strings.TrimSpace(newImport)+
reset+red+
" on line", scanLine, reset)