bake/modernize/actions.rb in bake-modernize-0.10.0 vs bake/modernize/actions.rb in bake-modernize-0.10.1

- old
+ new

@@ -52,10 +52,10 @@ return "https://#{match[:url]}/#{match[:path]}" end end def badge_for(repository_url) - "[![Development Status](#{repository_url}/workflows/Development/badge.svg)](#{repository_url}/actions?workflow=Development)" + "[![Development Status](#{repository_url}/workflows/Test/badge.svg)](#{repository_url}/actions?workflow=Test)" end def badge?(node) return false unless node.type == :link return node.all?{|child| child.type == :image}