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) {
|
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');
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue