MM-22783: Fix scopelint issues (#13969)
* Fix scopelint issues * Incorporating review comments * Keeping the order of linters alphabetical * Fix issues after merge Co-authored-by: mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
4ac0619c90
Коммит
c8b60c2d75
@@ -63,6 +63,7 @@ func (s SqlPreferenceStore) Save(preferences *model.Preferences) *model.AppError
|
||||
|
||||
defer finalizeTransaction(transaction)
|
||||
for _, preference := range *preferences {
|
||||
preference := preference
|
||||
if upsertErr := s.save(transaction, &preference); upsertErr != nil {
|
||||
return upsertErr
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user