Use nil instead of empty function

This commit is contained in:
Steve Streeting 2017-01-02 14:37:08 +00:00
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)
}