chore(client): adjust typo (#1565)

This commit is contained in:
Caio Agiani 2022-07-10 03:10:53 -03:00 • committed by GitHub
commit b8b41920e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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; if (needAuthentication instanceof Error) throw needAuthentication;
// Scan-qrcode selector was found. Needs authentication // Scan-qrcode selector was found. Needs authentication

View file

@ -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; if (needAuthentication instanceof Error) throw needAuthentication;
// Scan-qrcode selector was found. Needs authentication // Scan-qrcode selector was found. Needs authentication