FIX: Travis failure

This commit is contained in:
Robin Ward 2016-08-10 13:20:39 -04:00
parent 24201d4638
commit d763ce08c0
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ module PrettyText
apply_es6_file(ctx, root_path, Regexp.last_match[2])
elsif l =~ /\/\/= require_tree (\.\/)?(.*)$/
path = Regexp.last_match[2]
Dir["#{root_path}/#{path}/**"].each do |f|
Dir["#{root_path}/#{path}/**"].sort.each do |f|
apply_es6_file(ctx, root_path, f.sub(root_path, '')[1..-1].sub(/\.js.es6$/, ''))
end
end