Skip to content

Commit eeff3bb

Browse files
committed
Fix rubocop comments
1 parent 982091a commit eeff3bb

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lib/jekyll-github-metadata/edit-link-tag.rb

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,10 @@ def parts
7272
end
7373

7474
def page_path
75-
return page['path'] unless page['paginated']
75+
return page["path"] unless page["paginated"]
7676

7777
site.pages.dup.select do |page|
78-
if page.pager and page.pager.page == 1
79-
return page['path']
80-
end
78+
return page["path"] if page.pager && page.pager.page == 1
8179
end
8280
end
8381

0 commit comments

Comments
 (0)