Change if statement to elsif.

Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Michelle Nguyen(she/her) 2020-03-03 10:02:17 -05:00 committed by Michelle Nguyen
parent 948ad02c84
commit 1f5f9b37c7

View File

@ -199,8 +199,7 @@ class Reporter
if status == "D"
# Have a dedicated report array for deleted casks.
@report[:DC] << tap.formula_file_to_name(src)
end
if status == "M"
elsif status == "M"
# Report updated casks
@report[:MC] << tap.formula_file_to_name(src)
end