mirror of
https://github.com/atlanticbiomedical/biomedjs.git
synced 2025-07-02 00:47:26 -04:00
Latest Code
This commit is contained in:
18
node_modules/strong-store-cluster/index.js
generated
vendored
Normal file
18
node_modules/strong-store-cluster/index.js
generated
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
var assert = require('assert');
|
||||
var cluster = require('cluster');
|
||||
var VERSION = require('./package.json').version;
|
||||
|
||||
if(cluster._strongStoreCluster) {
|
||||
assert(
|
||||
cluster._strongStoreCluster.VERSION === VERSION,
|
||||
'Multiple versions of strong-strore-cluster are being initialized.\n' +
|
||||
'This version ' + VERSION + ' is incompatible with already initialized\n' +
|
||||
'version ' + cluster._strongStoreCluster.VERSION + '.\n'
|
||||
);
|
||||
module.exports = cluster._strongStoreCluster;
|
||||
return;
|
||||
}
|
||||
|
||||
module.exports = require('./lib/lib.js');
|
||||
module.exports.VERSION = VERSION;
|
||||
cluster._strongStoreCluster = module.exports;
|
Reference in New Issue
Block a user