Fix Mac filenames patch

This commit is contained in:
Ben Hollis 2013-12-15 16:06:47 -08:00
parent 70744aa63f
commit f9728108cc

View file

@ -165,7 +165,7 @@ module Middleman::Cli
if RUBY_PLATFORM =~ /darwin/ if RUBY_PLATFORM =~ /darwin/
# handle UTF-8-MAC filename on MacOS # handle UTF-8-MAC filename on MacOS
@to_clean.map { |path| path.to_s.encode('UTF-8', 'UTF-8-MAC') } @to_clean = @to_clean.map { |path| path.to_s.encode('UTF-8', 'UTF-8-MAC') }
end end
end end