aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaushal Subedi2015-10-26 21:24:24 -0600
committerKaushal Subedi2015-10-26 21:24:24 -0600
commitdd9ae7343e8a2c75cd0a86a204653c5403fc7894 (patch)
tree53977a2a278a231777f60d13d44dbdf74698722d
parent1da08f7565d7db9b0d6f3fbca80f6da394407a5a (diff)
downloadgomove-dd9ae7343e8a2c75cd0a86a204653c5403fc7894.tar.bz2
added safe mode warning
-rw-r--r--ast.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/ast.go b/ast.go
index fffbe96..d2e4e93 100644
--- a/ast.go
+++ b/ast.go
@@ -24,6 +24,10 @@ func ProcessFileAST(filePath string, from string, to string) {
//Reset the color
reset := ansi.ColorCode("reset")
+ fmt.Println(blackOnWhite +
+ "RUNNING IN SAFE MODE" +
+ reset)
+
// New FileSet to parse the go file to
fSet := token.NewFileSet()