mirror of
https://github.com/bower/bower.git
synced 2026-02-12 23:15:08 -05:00
Minor CS fixes.
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
var json;
|
||||
var nrData = 0;
|
||||
|
||||
function uncolor(str) {
|
||||
return str.replace(/\x1B\[\d+m/g, '');
|
||||
}
|
||||
@@ -8,11 +11,9 @@ function stringify(data) {
|
||||
|
||||
// -------------------------
|
||||
|
||||
var nrData = 0;
|
||||
|
||||
// In the json output, everything goes to stderr except
|
||||
// the final command result that goes to stdout.
|
||||
var json = {
|
||||
json = {
|
||||
begin: function () {
|
||||
process.stderr.write('[');
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user