1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 15:18:08 +02:00

Merge pull request #15752 from Snuffleupagus/no-typeof-undefined

Enable the `no-typeof-undefined` ESLint plugin rule
This commit is contained in:
Tim van der Meij 2022-12-02 19:48:16 +01:00 committed by GitHub
commit 99cfef882f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 8 additions and 9 deletions

View file

@ -35,7 +35,7 @@ const TestReporter = function (browser) {
status,
description,
};
if (typeof error !== "undefined") {
if (error !== undefined) {
message.error = error;
}
send("/submit_task_results", message);