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

Enable the no-typeof-undefined ESLint plugin rule

Please see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-typeof-undefined.md
This commit is contained in:
Jonas Jenwald 2022-11-27 17:16:46 +01:00
parent 4793a0717f
commit 47dbfc4ade
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);