diff --git a/tools/commands-cordova.js b/tools/commands-cordova.js index d806fce763..495b495484 100644 --- a/tools/commands-cordova.js +++ b/tools/commands-cordova.js @@ -1136,7 +1136,7 @@ var execCordovaOnPlatform = function (localPath, platformName, options) { var future = new Future; execFileAsyncOrThrow(localAdb, ['logcat', '-c'], future.resolver()); setTimeout(function () { - if (! future.isResolved) { + if (! future.isResolved()) { verboseLog('adb logcat -c timed out'); future.throw(new Error("clearing logs of Android device timed out: adb logcat -c")); }