Commit 9489a3a8 authored by yann300's avatar yann300

fix standard

parent 71df9019
...@@ -44,8 +44,6 @@ class TxLogger { ...@@ -44,8 +44,6 @@ class TxLogger {
} }
} }
function log (self, tx, api) { function log (self, tx, api) {
var resolvedTransaction = api.resolvedTransaction(tx.hash) var resolvedTransaction = api.resolvedTransaction(tx.hash)
if (resolvedTransaction) { if (resolvedTransaction) {
......
...@@ -575,7 +575,7 @@ class Terminal { ...@@ -575,7 +575,7 @@ class Terminal {
command(args, scopedCommands, el => append(null, args, blockify(el))) command(args, scopedCommands, el => append(null, args, blockify(el)))
} }
var help = typeof command.help === 'string' ? command.help : [ var help = typeof command.help === 'string' ? command.help : [
`// no help available for:`, '// no help available for:',
`terminal.commands.${name}(...)` `terminal.commands.${name}(...)`
].join('\n') ].join('\n')
self.commands[name].toString = _ => { return help } self.commands[name].toString = _ => { return help }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment