summaryrefslogtreecommitdiff
path: root/devtools/server/child.js
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-05-02 06:57:57 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-05-02 06:57:57 +0200
commit3442ae7718679a4da8664bdbb561f746e0357203 (patch)
tree5ed661a5998ac91f309bb27cb5ae52dfb4178cca /devtools/server/child.js
parent61de1c80cdc6c04e71fde07cc5028af503438134 (diff)
downloaduxp-3442ae7718679a4da8664bdbb561f746e0357203.tar.gz
Fix unsafe "instanceof" negations
https://github.com/MoonchildProductions/Pale-Moon/pull/1173
Diffstat (limited to 'devtools/server/child.js')
-rw-r--r--devtools/server/child.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/devtools/server/child.js b/devtools/server/child.js
index e2838f08d4..c69b0a3fb4 100644
--- a/devtools/server/child.js
+++ b/devtools/server/child.js
@@ -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;
}