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(); }); });