Unverified Commit 5176bb88 by Ryan Committed by GitHub

Fix additional_file_patterns parsing (#756)

parent d902dc4c
......@@ -57,6 +57,7 @@ module Annotate
end
options[:additional_file_patterns] ||= []
options[:additional_file_patterns] = options[:additional_file_patterns].split(',') if options[:additional_file_patterns].is_a?(String)
options[:model_dir] = ['app/models'] if options[:model_dir].empty?
options[:wrapper_open] ||= options[:wrapper]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment