youch-terminal
Advanced tools
Comparing version 2.1.1 to 2.1.2
@@ -75,3 +75,3 @@ 'use strict' | ||
function whiteSpace (biggestChar, currentChar) { | ||
let whiteSpace = ' ' | ||
let whiteSpace = '' | ||
const whiteSpaceLength = biggestChar.length - currentChar.length | ||
@@ -101,5 +101,5 @@ | ||
if (isMain) { | ||
return `${prefix} ${red(POINTER)} ${red(counter)}${red('|')}${space}${red(line)}` | ||
return `${prefix}${red(POINTER)}${space}${red(counter)}${red('|')}${space} ${red(line)}` | ||
} | ||
return `${prefix} ${dim(counter)}${dim('|')}${space}${line}` | ||
return `${prefix} ${space}${dim(counter)}${dim('|')}${space} ${line}` | ||
} | ||
@@ -106,0 +106,0 @@ |
{ | ||
"name": "youch-terminal", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"description": "Show youch error on terminal", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7332