From 8a725c04385adf3ae1151f736e950a7f4978ebe2 Mon Sep 17 00:00:00 2001 From: Matthew Little Date: Thu, 29 May 2014 15:59:19 -0600 Subject: [PATCH] Fix for file check --- init.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.js b/init.js index 582db8c..8cc3c13 100644 --- a/init.js +++ b/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',