5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-02 16:02:07 +08:00

fix: exemption typo

This commit is contained in:
Lea Anthony 2022-10-01 19:03:20 +10:00 committed by GitHub
parent 40e326a708
commit 6a3b89d212
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@ func NewBindings(logger *logger.Logger, structPointersToBind []interface{}, exem
}
for _, exemption := range exemptions {
if exemptions == nil {
if exemption == nil {
continue
}
name := runtime.FuncForPC(reflect.ValueOf(exemption).Pointer()).Name()