From 89f91f0d37fd6919a7b5e09317b2ee0c4ab5c2be Mon Sep 17 00:00:00 2001 From: samogot Date: Tue, 13 Nov 2018 11:39:55 +0200 Subject: [PATCH] Fix that on "No login form found" error, done event was never called --- lib/commands/login.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/commands/login.js b/lib/commands/login.js index 37ccfa7..695ed96 100644 --- a/lib/commands/login.js +++ b/lib/commands/login.js @@ -24,7 +24,7 @@ function Login(context, data, next, done) { nodes, i, method, url; if (loginForm === null) { - this.error('No login form found'); + done('No login form found'); return; }