Skip to content
This repository has been archived by the owner on Jan 22, 2019. It is now read-only.

Commit

Permalink
Fix arguments issue
Browse files Browse the repository at this point in the history
  • Loading branch information
athieriot committed Jul 8, 2013
1 parent 99f6f12 commit 6e8d10b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion albot.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ Commands = require './lib/commands'
initLoggerBefore = (fonction) ->
_.wrap fonction, (f) ->
Configuration.Winston.initLogger Program.verbose
f.apply null, arguments
properArgs = _.initial(_.rest(_.values(arguments)))
f.apply null, properArgs

# Defining available options
Program
Expand Down

0 comments on commit 6e8d10b

Please sign in to comment.