Skip to content

Commit

Permalink
fix(android): fix toString() call when adb devices fails (#14128)
Browse files Browse the repository at this point in the history
  • Loading branch information
cb1kenobi authored Oct 1, 2024
1 parent a305e40 commit 630ca6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android/cli/hooks/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ exports.init = function (logger, config, cli) {
const adb = new ADB(config);
adb.devices(function (err, devices) {
if (err) {
err.toString.split('\n').forEach(logger.error);
err.toString().split('\n').forEach(logger.error);
logger.log();
process.exit(1);
}
Expand Down

0 comments on commit 630ca6d

Please sign in to comment.