Update callback.go
Println should be Printf
This commit is contained in:
parent
0156c26cfa
commit
7f9135a8a3
@ -98,7 +98,7 @@ func sortProcessors(cps []*callback_processor) []*func(scope *Scope) {
|
|||||||
} else if cp.remove {
|
} else if cp.remove {
|
||||||
fmt.Printf("[info] removing callback `%v` from %v\n", cp.name, fileWithLineNum())
|
fmt.Printf("[info] removing callback `%v` from %v\n", cp.name, fileWithLineNum())
|
||||||
} else {
|
} else {
|
||||||
fmt.Println("[warning] duplicated callback `%v` from %v\n", cp.name, fileWithLineNum())
|
fmt.Printf("[warning] duplicated callback `%v` from %v\n", cp.name, fileWithLineNum())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
names = append(names, cp.name)
|
names = append(names, cp.name)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user