mirror of https://github.com/embarklabs/embark.git
chore(blockchain): rename `log geth` cmd to log blockchain
This commit is contained in:
parent
e2257e8026
commit
8b0d37ca9e
|
@ -52,14 +52,14 @@ class BlockchainModule {
|
||||||
const self = this;
|
const self = this;
|
||||||
self.embark.registerConsoleCommand((cmd, _options) => {
|
self.embark.registerConsoleCommand((cmd, _options) => {
|
||||||
return {
|
return {
|
||||||
match: () => cmd === 'log geth on',
|
match: () => cmd === 'log blockchain on',
|
||||||
process: (cb) => self.events.request('logs:ethereum:turnOn', cb)
|
process: (cb) => self.events.request('logs:ethereum:turnOn', cb)
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
self.embark.registerConsoleCommand((cmd, _options) => {
|
self.embark.registerConsoleCommand((cmd, _options) => {
|
||||||
return {
|
return {
|
||||||
match: () => cmd === 'log geth off',
|
match: () => cmd === 'log blockchain off',
|
||||||
process: (cb) => self.events.request('logs:ethereum:turnOff', cb)
|
process: (cb) => self.events.request('logs:ethereum:turnOff', cb)
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue