small fixes

This commit is contained in:
Jonathan Rainville 2018-05-24 10:51:05 -04:00
parent c084803acb
commit fd9da44792
2 changed files with 2 additions and 2 deletions

View File

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

View File

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