From b8b41920e3638dfe294fc4940345408e6d708cd6 Mon Sep 17 00:00:00 2001 From: Caio Agiani Date: Sun, 10 Jul 2022 03:10:53 -0300 Subject: [PATCH] chore(client): adjust typo (#1565) --- docs/Client.js.html | 2 +- src/Client.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Client.js.html b/docs/Client.js.html index 763cd64..08babce 100644 --- a/docs/Client.js.html +++ b/docs/Client.js.html @@ -163,7 +163,7 @@ class Client extends EventEmitter { }) ]); - // Checks if an error ocurred on the first found selector. The second will be discarded and ignored by .race; + // Checks if an error occurred on the first found selector. The second will be discarded and ignored by .race; if (needAuthentication instanceof Error) throw needAuthentication; // Scan-qrcode selector was found. Needs authentication diff --git a/src/Client.js b/src/Client.js index 40bf560..d30390b 100644 --- a/src/Client.js +++ b/src/Client.js @@ -132,7 +132,7 @@ class Client extends EventEmitter { }) ]); - // Checks if an error ocurred on the first found selector. The second will be discarded and ignored by .race; + // Checks if an error occurred on the first found selector. The second will be discarded and ignored by .race; if (needAuthentication instanceof Error) throw needAuthentication; // Scan-qrcode selector was found. Needs authentication