From fd9da44792bf8b838b2dd87cf159357a3996b7a6 Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Thu, 24 May 2018 10:51:05 -0400 Subject: [PATCH] small fixes --- lib/modules/ipfs/index.js | 1 - lib/processes/storageProcesses/storageProcessesLauncher.js | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/modules/ipfs/index.js b/lib/modules/ipfs/index.js index ea32c36ca..bccd839cc 100644 --- a/lib/modules/ipfs/index.js +++ b/lib/modules/ipfs/index.js @@ -15,7 +15,6 @@ class IPFS { this.port = options.port || this.storageConfig.port; this.addCheck = options.addCheck; this.embark = embark; - this.ipfsProcess = null; this.commandlineDeploy(); this.setServiceCheck(); diff --git a/lib/processes/storageProcesses/storageProcessesLauncher.js b/lib/processes/storageProcesses/storageProcessesLauncher.js index f5e2fc0a1..ceecf9f59 100644 --- a/lib/processes/storageProcesses/storageProcessesLauncher.js +++ b/lib/processes/storageProcesses/storageProcessesLauncher.js @@ -23,7 +23,7 @@ class StorageProcessesLauncher { const filePath = utils.joinPath(__dirname, `./${storageName}.js`); fs.access(filePath, (err) => { if (err) { - callback(__('No process file for this storage type exists. Please start the process locally.')); + return callback(__('No process file for this storage type exists. Please start the process locally.')); } self.logger.info(__(`Starting ${storageName} process`).cyan); self.processes[storageName] = new ProcessLauncher({ @@ -41,6 +41,7 @@ class StorageProcessesLauncher { delete self.processes[storageName]; return callback(msg.error); } + self.logger.info(__(`${storageName} process started`).cyan); callback(); }); });