5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-03 03:52:41 +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 { for _, exemption := range exemptions {
if exemptions == nil { if exemption == nil {
continue continue
} }
name := runtime.FuncForPC(reflect.ValueOf(exemption).Pointer()).Name() name := runtime.FuncForPC(reflect.ValueOf(exemption).Pointer()).Name()