mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
fix slack arg index
This commit is contained in:
parent
9d50f49989
commit
aef57a5ae4
|
@ -51,7 +51,7 @@ func (t *SlackNotifier) Notify(format string, args ...interface{}) {
|
|||
}
|
||||
|
||||
var nonSlackArgs = args
|
||||
if slackArgsStartIdx > 0 {
|
||||
if slackArgsStartIdx > -1 {
|
||||
nonSlackArgs = args[:slackArgsStartIdx]
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user