rm print
This commit is contained in:
@@ -86,8 +86,7 @@ if (mode == "span") {
|
||||
if (result == null) {
|
||||
log.console("Nothing found at " + filename + ":" + text(line) + ":" + text(col))
|
||||
} else {
|
||||
print(json.encode(result, true))
|
||||
print("\n")
|
||||
log.compile(json.encode(result, true))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -116,8 +115,7 @@ if (mode == "symbol") {
|
||||
if (result == null || length(result.symbols) == 0) {
|
||||
log.console("Symbol '" + symbol_name + "' not found in " + filename)
|
||||
} else {
|
||||
print(json.encode(result, true))
|
||||
print("\n")
|
||||
log.compile(json.encode(result, true))
|
||||
}
|
||||
} else if (length(files) > 1) {
|
||||
indexes = []
|
||||
@@ -132,8 +130,7 @@ if (mode == "symbol") {
|
||||
if (result == null || length(result.symbols) == 0) {
|
||||
log.console("Symbol '" + symbol_name + "' not found in " + text(length(files)) + " files")
|
||||
} else {
|
||||
print(json.encode(result, true))
|
||||
print("\n")
|
||||
log.compile(json.encode(result, true))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user