Skip to content

Commit 97a1a3d

Browse files
committed
Removed debugging console.logs
1 parent 73d5a07 commit 97a1a3d

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

index.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,6 @@ module.exports = class Highlighter {
5151
bracket: /([()])/g
5252
}
5353

54-
// Remove 'Executing (default):' message
55-
newText = newText.replace(/Executing \(default\): /g, '')
56-
5754
for (let key in rules) {
5855
let rule = rules[key]
5956
let match = rule
@@ -72,7 +69,6 @@ module.exports = class Highlighter {
7269
replacer = this.htmlPattern.replace('{0}', key)
7370
}
7471
newText = newText.replace(match, pattern.replace('{0}', replacer))
75-
console.log(newText + '\n\n')
7672
}
7773

7874
let replacer = !this.options.html

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "seq-highlight",
3-
"version": "2.1.0",
2+
"name": "sql-highlight",
3+
"version": "2.1.1",
44
"description": "A simple and lightweight syntax highlighting library for SQL",
55
"main": "index.js",
66
"repository": {

0 commit comments

Comments
 (0)