mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
tools list fix unwanted pretty-print of json output
This commit is contained in:
@@ -1314,7 +1314,10 @@ main.registerCommand({
|
||||
});
|
||||
|
||||
if (showJson) {
|
||||
Console.info(JSON.stringify(jsonOut))
|
||||
// we can't use Console here, because it pretty prints the output with
|
||||
// a wrap at 80 chars per line, which causes the json to break if details
|
||||
// options is active and the package descriptions exceed the limit
|
||||
console.info(JSON.stringify(jsonOut));
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user