fix shadowed err (#718)

This commit is contained in:
Travis McLane
2021-05-18 14:55:05 -05:00
committed by GitHub
parent f5912d29b6
commit 31cf04a944

View File

@@ -150,7 +150,7 @@ func processApplicationIcon(resourceDir string, iconsDir string) (err error) {
// Install default icon if one doesn't exist
if !fs.FileExists(appIcon) {
// No - Install default icon
err := buildassets.RegenerateAppIcon(appIcon)
err = buildassets.RegenerateAppIcon(appIcon)
if err != nil {
return
}