arrayify helper path within cmock

This commit is contained in:
Austin Glaser
2016-04-21 17:31:26 -06:00
parent 02b0838086
commit 6545913260
+1
View File
@@ -58,6 +58,7 @@ class CMockConfig
end
end
options[:unity_helper_path] ||= options[:unity_helper]
options[:unity_helper_path] = [options[:unity_helper_path]] if options[:unity_helper_path].is_a? String
options[:plugins].compact!
options[:plugins].map! {|p| p.to_sym}
@options = options