Skip to content

Commit

Permalink
Update parlour_plugin.rb to not error if options[:tags] is nil
Browse files Browse the repository at this point in the history
  • Loading branch information
dsisnero authored May 16, 2024
1 parent 7c4d5ae commit 4e6e4f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/sord/parlour_plugin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ def generate(root)
end

def add_custom_tags
return unless options[:tags]
return if options[:tags].empty?

options[:tags].each do |tag|
Expand Down

0 comments on commit 4e6e4f6

Please sign in to comment.