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