Skip to content

Commit

Permalink
feat(android): indent log correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
m1ga committed May 8, 2024
1 parent 4f78a79 commit 747d287
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions android/cli/hooks/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,10 +254,10 @@ exports.init = function (logger, config, cli) {

// start of a new log message
if (device.appPidRegExp.test(line)) {
line = line.trim().replace(device.appPidRegExp, ':');
line = line.replace(/^ {1,2}/, '').replace(device.appPidRegExp, ':');
logLevel = line.charAt(0).toLowerCase();
if (tiapiRegExp.test(line)) {
line = line.replace(tiapiRegExp, '').trim();
line = line.replace(tiapiRegExp, '').replace(/^ {1,2}/, '');
} else {
line = line.replace(/^\w\/(\w+)\s*:/g, '$1:').grey;
}
Expand Down

0 comments on commit 747d287

Please sign in to comment.