From 4ba242dd1344d1c6131fd657cbe516b5bc4b9061 Mon Sep 17 00:00:00 2001 From: Chris Barber Date: Mon, 30 Sep 2024 21:23:20 -0500 Subject: [PATCH] fix(android): fix toString() call when adb devices fails --- android/cli/hooks/run.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/cli/hooks/run.js b/android/cli/hooks/run.js index 7d73130d830..091ed7f9458 100644 --- a/android/cli/hooks/run.js +++ b/android/cli/hooks/run.js @@ -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); }