if! -> unless, as code climate suggests

This commit is contained in:
Brenda Wallace
2016-11-13 11:10:45 +13:00
parent 9605ec6109
commit e1f0b649f5

View File

@@ -28,7 +28,7 @@ Please set it using
end
end
if !system("grep", "-i", author, "CONTRIBUTORS.md") then
unless system("grep", "-i", author, "CONTRIBUTORS.md") then
abort %{
Thanks for your contribution, #{author}!
Please add your name and GitHub handle to the file CONTRIBUTORS.md,