Comparing version 0.0.14 to 0.0.15
@@ -50,3 +50,3 @@ var fs = require('fs'); | ||
var length = getColorlessLength(text); | ||
var pad = Array(Math.max(50 - length, 1)).join(' '); | ||
var pad = Array(Math.max(50 - length, 2)).join(' '); | ||
return text + pad + grey + name + color; | ||
@@ -181,3 +181,3 @@ }); | ||
} | ||
if (length + space > 60) { | ||
if (length + indent.length > 60) { | ||
data = '\n' + indent + parts.join(grey + ',\n' + bash + indent) + '\n' + space; | ||
@@ -193,6 +193,6 @@ } | ||
if (isArray) { | ||
data = '[' + data + ']'; | ||
data = bash + '[' + data + ']'; | ||
} | ||
else { | ||
data = '{' + data + '}'; | ||
data = bash + '{' + data + '}'; | ||
} | ||
@@ -199,0 +199,0 @@ } |
@@ -15,3 +15,3 @@ { | ||
], | ||
"version": "0.0.14", | ||
"version": "0.0.15", | ||
"main": "cedar.js", | ||
@@ -18,0 +18,0 @@ "homepage": "http://github.com/zerious/cedar", |
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
20353