Skip to content

Commit

Permalink
Be better at ignoring debug output on Android
Browse files Browse the repository at this point in the history
  • Loading branch information
Slava committed Oct 1, 2014
1 parent b5023c6 commit 81565b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/commands-cordova.js
Expand Up @@ -857,9 +857,6 @@ var execCordovaOnPlatform = function (localPath, platformName, options) {
return null;
}

if (isDebugOutput(line) && ! verboseness)
return null;

// filename.js?hashsha1: Line 123 : message goes here
var parsedLine =
line.match(/^([^?]*)(\?[a-zA-Z0-9]+)?: Line (\d+) : (.*)$/);
Expand All @@ -868,6 +865,9 @@ var execCordovaOnPlatform = function (localPath, platformName, options) {
return Log.format(
Log.objFromText(line), { metaColor: 'green', color: true });

if (isDebugOutput(parsedLine[4]) && ! verboseness)
return null;

var output = {
time: new Date,
level: 'info',
Expand Down

0 comments on commit 81565b1

Please sign in to comment.