We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d92208 commit 71cf2e5Copy full SHA for 71cf2e5
1 file changed
app/models/name/quality_checks.rb
@@ -859,7 +859,7 @@ def initialize(name)
859
860
def add(type_or_qc, opts = {})
861
qc = type_or_qc.is_a?(QcWarning) ? type_or_qc :
862
- QcWarning.new(type, opts.merge(name: name))
+ QcWarning.new(type_or_type, opts.merge(name: name))
863
@checks_h[qc.type] = qc if qc.checklist
864
if (!qc.checklist && !qc.check) || (qc.check && qc.check.fail?)
865
@set_h[qc.type] = qc
0 commit comments