fixed 'return' outside of function (30:4) (#1923)
* fixed 'return' outside of function (30:4)
This commit is contained in:
parent
2aa06425cb
commit
5cd969a03e
|
@ -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');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue