fixed 'return' outside of function (30:4) (#1923)

* fixed 'return' outside of function (30:4)
This commit is contained in:
Vincenzo Castiglia 2018-07-12 12:34:37 +02:00 committed by Kenneth Geisshirt
parent 2aa06425cb
commit 5cd969a03e
1 changed files with 36 additions and 37 deletions

View File

@ -27,9 +27,7 @@
if ('REALM_DISABLE_ANALYTICS' in process.env) {
module.exports = function(){};
return;
}
} else {
const os = require('os');
const crypto = require('crypto');
const fs = require('fs');
@ -98,3 +96,4 @@ module.exports = function(eventName) {
if (require.main === module) {
module.exports('Install');
}
}