Skip to content

Commit 22e13fe

Browse files
bmacnaughtonQix-
authored andcommittedJul 16, 2020
fix quoted percent sign
1 parent 80ef62a commit 22e13fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/common.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ function setup(env) {
9292
args[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => {
9393
// If we encounter an escaped % then don't increase the array index
9494
if (match === '%%') {
95-
return match;
95+
return '%';
9696
}
9797
index++;
9898
const formatter = createDebug.formatters[format];

0 commit comments

Comments
 (0)
Please sign in to comment.