Fix LfsFileLock code reuse
Removes find_by! usage for LfsFileLock by introducing new method for_path!(path) Related to https://gitlab.com/gitlab-org/gitlab/-/issues/512677
显示
- .rubocop_todo/rspec/feature_category.yml 0 个添加, 1 个删除.rubocop_todo/rspec/feature_category.yml
- app/models/lfs_file_lock.rb 4 个添加, 0 个删除app/models/lfs_file_lock.rb
- app/services/lfs/unlock_file_service.rb 1 个添加, 3 个删除app/services/lfs/unlock_file_service.rb
- spec/models/lfs_file_lock_spec.rb 15 个添加, 1 个删除spec/models/lfs_file_lock_spec.rb
加载中
想要评论请 注册 或 登录