Skip to content

Commit

Permalink
ci: fix linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
bitxeno committed Sep 13, 2024
1 parent 089d6d0 commit 71ecaa9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/task/task.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ func (t *Task) tryInstallApp(v model.InstalledApp) {
func (t *Task) runInternal(v model.InstalledApp) error {
if v.Account == "" || v.Password == "" || v.UDID == "" {
log.Info("account or password or UDID is empty")
return fmt.Errorf("account or password or UDID is empty")
return fmt.Errorf("%s", "account or password or UDID is empty")
}

installMgr := manager.NewInstallManager()
Expand All @@ -172,7 +172,7 @@ func (t *Task) runInternal(v model.InstalledApp) error {
if strings.Contains(installMgr.OutputLog(), "Installation Succeeded") {
return nil
} else {
return fmt.Errorf(installMgr.ErrorLog())
return fmt.Errorf("%s", installMgr.ErrorLog())
}
}

Expand Down

0 comments on commit 71ecaa9

Please sign in to comment.