lib/lotus/utils/path_prefix.rb in lotus-utils-0.5.0 vs lib/lotus/utils/path_prefix.rb in lotus-utils-0.5.1

- old
+ new

@@ -80,10 +80,10 @@ def relative_join(strings, separator = @separator) raise TypeError if separator.nil? prefix = @string.gsub(@separator, separator) self.class.new( - Utils::Kernel.Array([prefix, strings]).join(separator), + [prefix, strings].flatten.compact.join(separator), separator ).relative! end protected