Use nil instead of empty function
This commit is contained in:
parent
ad489d747c
commit
24dc9c897e
@ -75,6 +75,5 @@ func postCheckoutFileChange(client *locking.Client) {
|
||||
}
|
||||
|
||||
func init() {
|
||||
RegisterCommand("post-checkout", postCheckoutCommand, func(cmd *cobra.Command) {
|
||||
})
|
||||
RegisterCommand("post-checkout", postCheckoutCommand, nil)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user