mirror of
https://github.com/FranP-code/public-apis.git
synced 2025-10-13 00:03:04 +00:00
Add exit condition
This commit is contained in:
@@ -38,3 +38,9 @@ File.foreach(filename).with_index do |line, line_num|
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if fail_flag
|
||||||
|
exit(1)
|
||||||
|
else
|
||||||
|
exit(0)
|
||||||
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user