Skip to content

Commit

Permalink
Fix that on "No login form found" error, done event was never called
Browse files Browse the repository at this point in the history
  • Loading branch information
samogot committed Nov 13, 2018
1 parent 5bf419b commit 89f91f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/commands/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 89f91f0

Please sign in to comment.