зеркало из https://github.com/microsoft/appium.git
Made sure it works either way: The cl interface won't be able to supply a callback.
This commit is contained in:
Родитель
5f3e9b83bb
Коммит
83e4e681fb
|
@ -39,7 +39,9 @@ var main = function(args, readyCb, doneCb) {
|
||||||
server.listen(args.port, args.address, function() {
|
server.listen(args.port, args.address, function() {
|
||||||
var logMessage = "Appium REST http interface listener started on "+args.address+":"+args.port;
|
var logMessage = "Appium REST http interface listener started on "+args.address+":"+args.port;
|
||||||
console.log(logMessage.cyan);
|
console.log(logMessage.cyan);
|
||||||
readyCb();
|
if (readyCb) {
|
||||||
|
readyCb();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
server.on('close', doneCb);
|
server.on('close', doneCb);
|
||||||
return appiumServer;
|
return appiumServer;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче