Fix for file check
This commit is contained in:
parent
f83f5b371b
commit
8a725c0438
2
init.js
2
init.js
@ -361,7 +361,7 @@ var processCoinSwitchCommand = function(params, options, reply){
|
||||
};
|
||||
|
||||
var startSwitchingPaymentProcessor = function(){
|
||||
if (!fs.exists('libs/switchingPaymentProcessor.js')) return;
|
||||
if (!fs.existsSync('libs/switchingPaymentProcessor.js')) return;
|
||||
|
||||
var worker = cluster.fork({
|
||||
workerType: 'switchingPaymentProcessor',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user