mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 08:18:41 +09:00
Fix unsafe "instanceof" negations
https://github.com/MoonchildProductions/Pale-Moon/pull/1173
This commit is contained in:
parent
a073130d31
commit
b56d147095
17 changed files with 19 additions and 28 deletions
|
|
@ -61,7 +61,7 @@ try {
|
|||
try {
|
||||
m = require(module);
|
||||
|
||||
if (!setupChild in m) {
|
||||
if (!(setupChild in m)) {
|
||||
dumpn(`ERROR: module '${module}' does not export '${setupChild}'`);
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1040,7 +1040,7 @@ var DebuggerServer = {
|
|||
try {
|
||||
m = require(module);
|
||||
|
||||
if (!setupParent in m) {
|
||||
if (!(setupParent in m)) {
|
||||
dumpn(`ERROR: module '${module}' does not export '${setupParent}'`);
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue