mirror of https://github.com/embarklabs/embark.git
small fixes
This commit is contained in:
parent
c084803acb
commit
fd9da44792
|
@ -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