Skip to content

Commit 71cf2e5

Browse files
committed
Update quality_checks.rb
1 parent 4d92208 commit 71cf2e5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/models/name/quality_checks.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -859,7 +859,7 @@ def initialize(name)
859859

860860
def add(type_or_qc, opts = {})
861861
qc = type_or_qc.is_a?(QcWarning) ? type_or_qc :
862-
QcWarning.new(type, opts.merge(name: name))
862+
QcWarning.new(type_or_type, opts.merge(name: name))
863863
@checks_h[qc.type] = qc if qc.checklist
864864
if (!qc.checklist && !qc.check) || (qc.check && qc.check.fail?)
865865
@set_h[qc.type] = qc

0 commit comments

Comments
 (0)