Fixed #145 by requiring abstract formatter before requiring any other formatter to ensure it's loaded first, in case files are not required in alphabetical order.

This commit is contained in:
Sebastian Ludwig 2016-03-31 14:30:55 +02:00
parent d026c65f44
commit 00a8907646

View file

@ -19,6 +19,7 @@ module Twine
end
end
require File.join(File.dirname(__FILE__), 'formatters', 'abstract.rb')
Dir[File.join(File.dirname(__FILE__), 'formatters', '*.rb')].each do |file|
require file
end