File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -51,9 +51,6 @@ module.exports = class Highlighter {
51
51
bracket : / ( [ ( ) ] ) / g
52
52
}
53
53
54
- // Remove 'Executing (default):' message
55
- newText = newText . replace ( / E x e c u t i n g \( d e f a u l t \) : / g, '' )
56
-
57
54
for ( let key in rules ) {
58
55
let rule = rules [ key ]
59
56
let match = rule
@@ -72,7 +69,6 @@ module.exports = class Highlighter {
72
69
replacer = this . htmlPattern . replace ( '{0}' , key )
73
70
}
74
71
newText = newText . replace ( match , pattern . replace ( '{0}' , replacer ) )
75
- console . log ( newText + '\n\n' )
76
72
}
77
73
78
74
let replacer = ! this . options . html
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " seq -highlight" ,
3
- "version" : " 2.1.0 " ,
2
+ "name" : " sql -highlight" ,
3
+ "version" : " 2.1.1 " ,
4
4
"description" : " A simple and lightweight syntax highlighting library for SQL" ,
5
5
"main" : " index.js" ,
6
6
"repository" : {
You can’t perform that action at this time.
0 commit comments