Skip to content

Commit

Permalink
refactor: skip install when the account is invalid.
Browse files Browse the repository at this point in the history
  • Loading branch information
bitxeno committed Oct 25, 2024
1 parent 4335125 commit cbb87c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/task/task.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ func (t *Task) runInternal(v model.InstalledApp) error {
if strings.Contains(installMgr.OutputLog(), "Installation Succeeded") {
return nil
} else {
if strings.Contains(installMgr.OutputLog(), "ERROR") && strings.Contains(installMgr.OutputLog(), "Can't log-in") {
if strings.Contains(installMgr.ErrorLog(), "Can't log-in") {
t.InvalidAccounts[v.Account] = true
}
return fmt.Errorf("%s", installMgr.ErrorLog())
Expand Down

0 comments on commit cbb87c0

Please sign in to comment.