Compare commits

..

No commits in common. "e4833bdba9b2f7a3b73309c64a697bfa5c1d2952" and "4596159b8ffa61139f7e0f3d80e83d4593f819b6" have entirely different histories.

2 changed files with 1 additions and 2 deletions

View File

@ -30,6 +30,6 @@ func (b *Bait) throw(name string, args ...interface{}) {
b.Em.Emit(name, args...)
}
func (b *Bait) catch(name string, catcher func(...interface{})) {
func (b *Bait) catch(name string, catcher func(interface{})) {
b.Em.On(name, catcher)
}

View File

@ -31,7 +31,6 @@ func RunInput(input string) {
continue
}
}
hooks.Em.Emit("command.preexec", input, cmdString)
// First try to load input, essentially compiling to bytecode
fn, err := l.LoadString(cmdString)