Skip to content

Commit

Permalink
Merge pull request #176 from dsisnero/patch-1
Browse files Browse the repository at this point in the history
Update parlour_plugin.rb to not error if options[:tags] is nil
  • Loading branch information
AaronC81 authored May 19, 2024
2 parents 7c4d5ae + 4e6e4f6 commit ffdae53
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 ffdae53

Please sign in to comment.