Skip to content

Commit

Permalink
rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
hexylena committed Dec 20, 2023
1 parent 13f5839 commit 86510a3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions _plugins/jekyll-topic-filter.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# frozen_string_literal: true

require 'json'
require 'yaml'
require './_plugins/gtn'
Expand Down Expand Up @@ -972,8 +973,8 @@ def to_material(site, page)
end

def get_workflow(site, page, workflow)
mat = self.to_material(site, page)
mat['workflows'].select{|w| w['workflow'] == workflow }[0]
mat = to_material(site, page)
mat['workflows'].select { |w| w['workflow'] == workflow }[0]
end
end
end
Expand Down

0 comments on commit 86510a3

Please sign in to comment.