lib/sfn/lint/rule_set.rb in sfn-3.0.30 vs lib/sfn/lint/rule_set.rb in sfn-3.0.32
- old
+ new
@@ -1,6 +1,6 @@
-require 'sfn'
+require "sfn"
module Sfn
module Lint
# Named collection of rules
class RuleSet
@@ -158,10 +158,10 @@
non_match = rules.find_all do |rule|
rule.provider != provider
end
unless non_match.empty?
raise ArgumentError.new "Rule set defines `#{provider}` as provider but includes rules for " \
- "non matching providers. (#{non_match.map(&:provider).map(&:to_s).uniq.sort.join(', ')})"
+ "non matching providers. (#{non_match.map(&:provider).map(&:to_s).uniq.sort.join(", ")})"
end
end
end
end
end