mirror of
https://github.com/debug-js/debug.git
synced 2026-01-18 16:12:38 +00:00
Merge pull request #388 from ForsakenHarmony/patch-1
Fix formatting bug
This commit is contained in:
commit
f09833136e
@ -95,7 +95,7 @@ function formatArgs(args) {
|
||||
// figure out the correct index to insert the CSS into
|
||||
var index = 0;
|
||||
var lastC = 0;
|
||||
args[0].replace(/%[a-z%]/g, function(match) {
|
||||
args[0].replace(/%[a-zA-Z%]/g, function(match) {
|
||||
if ('%%' === match) return;
|
||||
index++;
|
||||
if ('%c' === match) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user