fix panic when []OptionFunc contains nil (#263)
NewRequest() can potentially be called with a nil value present in []OptionFunc. For example this code would trigger a panic prior to this commit: _, _, err := git.Users.ModifyUser(event.UserId, options, nil)
Showing
Please
register
or
sign in
to comment