aboutsummaryrefslogtreecommitdiffstats
path: root/parseLDIF.js
diff options
context:
space:
mode:
Diffstat (limited to 'parseLDIF.js')
-rw-r--r--parseLDIF.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/parseLDIF.js b/parseLDIF.js
index a79cb11..77cf3fb 100644
--- a/parseLDIF.js
+++ b/parseLDIF.js
@@ -295,6 +295,6 @@ function parseLDIF(inStr) {
return out_records;
}
-if (exports) {
+if (exports !== undefined) {
exports.parseLDIF = parseLDIF;
}