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.port = options.port || this.storageConfig.port;
this.addCheck = options.addCheck; this.addCheck = options.addCheck;
this.embark = embark; this.embark = embark;
this.ipfsProcess = null;
this.commandlineDeploy(); this.commandlineDeploy();
this.setServiceCheck(); this.setServiceCheck();

View File

@ -23,7 +23,7 @@ class StorageProcessesLauncher {
const filePath = utils.joinPath(__dirname, `./${storageName}.js`); const filePath = utils.joinPath(__dirname, `./${storageName}.js`);
fs.access(filePath, (err) => { fs.access(filePath, (err) => {
if (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.logger.info(__(`Starting ${storageName} process`).cyan);
self.processes[storageName] = new ProcessLauncher({ self.processes[storageName] = new ProcessLauncher({
@ -41,6 +41,7 @@ class StorageProcessesLauncher {
delete self.processes[storageName]; delete self.processes[storageName];
return callback(msg.error); return callback(msg.error);
} }
self.logger.info(__(`${storageName} process started`).cyan);
callback(); callback();
}); });
}); });