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:
commit
99cfef882f
7 changed files with 8 additions and 9 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue