mirror of
https://github.com/thewesker/twitter_ebooks.git
synced 2025-12-22 21:31:06 -05:00
Don't run more passes if no variant. Fixes #79
This commit is contained in:
@@ -89,7 +89,11 @@ module Ebooks
|
||||
break if variant
|
||||
end
|
||||
|
||||
tikis = variant if variant
|
||||
# If we failed to produce a variation from any alternative, there
|
||||
# is no use running additional passes-- they'll have the same result.
|
||||
break if variant.nil?
|
||||
|
||||
tikis = variant
|
||||
end
|
||||
|
||||
tikis
|
||||
|
||||
Reference in New Issue
Block a user