Update rubocop-shopify (2.7.0 -> 2.12.0) (#1687)

This commit is contained in:
Guilherme Carreiro
2023-02-15 08:40:59 +01:00
committed by GitHub
parent abef59d129
commit 9ab688eada
38 changed files with 720 additions and 382 deletions
+2 -2
View File
@@ -45,8 +45,8 @@ class Paginate < Liquid::Block
pagination['items'] = collection_size
pagination['pages'] = page_count - 1
pagination['previous'] = link('&laquo; Previous', current_page - 1) unless 1 >= current_page
pagination['next'] = link('Next &raquo;', current_page + 1) unless page_count <= current_page + 1
pagination['previous'] = link('&laquo; Previous', current_page - 1) if 1 < current_page
pagination['next'] = link('Next &raquo;', current_page + 1) if page_count > current_page + 1
pagination['parts'] = []
hellip_break = false