chore: inc -> prefix -> postfix

This commit is contained in:
coderaiser
2021-06-04 19:37:25 +03:00
parent ca70d7b6b4
commit 6801793547
+1 -1
View File
@@ -105,7 +105,7 @@ function formatError(input: string, output: string, expected: string): string {
function addLineNumber(start: number, color: string): (s: string) => string {
let counter = start || 0;
return (s: string): string => {
++counter;
counter++;
return '\x1b[33m' + (' ' + counter).slice(-2) + color + s;
};
}