mirror of https://github.com/embarklabs/embark.git
small fixes
This commit is contained in:
parent
f08c700151
commit
857c7d8c85
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue