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.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();
|
||||||
|
|
|
@ -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();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue