mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
future.isResolved is a function
This commit is contained in:
@@ -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"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user