mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-13 19:49:40 +08:00
fix(logging): Fix query logging: escape '%' properly
This commit is contained in:
parent
190e2713ce
commit
fd8aab0946
1 changed files with 1 additions and 0 deletions
|
@ -230,6 +230,7 @@ class DatabaseStore extends NylasStore
|
|||
app.rebuildDatabase()
|
||||
|
||||
_prettyConsoleLog: (q) =>
|
||||
q = q.replace(/%/g, '%%')
|
||||
q = "color:black |||%c " + q
|
||||
q = q.replace(/`(\w+)`/g, "||| color:purple |||%c$&||| color:black |||%c")
|
||||
|
||||
|
|
Loading…
Reference in a new issue