From f59aa4c0f39dcbe95acdec60d9ee5b686a0a12ca Mon Sep 17 00:00:00 2001 From: Justin SB Date: Tue, 21 Oct 2014 15:11:37 -0700 Subject: [PATCH] future.isResolved is a function --- tools/commands-cordova.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")); }