Skip to content

Commit

Permalink
shorter syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
m1ga committed Jan 10, 2024
1 parent dcc2373 commit bd09e7f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions android/cli/hooks/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -268,10 +268,8 @@ exports.init = function (logger, config, cli) {
}

// ignore some Android logs in info log level
for (let i = 0, len = ignoreLog.length; i < len; ++i) {
if (line.includes(ignoreLog[i])) {
return;
}
if (ignoreLog.some(ignoreItem => line.includes(ignoreItem))) {
return;
}

switch (logLevel) {
Expand Down

0 comments on commit bd09e7f

Please sign in to comment.