提交 5c8be9eb 编写于 作者: J Joshua Peek

Ensure Dir.glob is sorted

上级 eeb58b09
...@@ -157,7 +157,7 @@ def expanded ...@@ -157,7 +157,7 @@ def expanded
path = File.expand_path(p, @root.path) path = File.expand_path(p, @root.path)
if @glob if @glob
result.concat Dir[File.join(path, @glob)] result.concat Dir[File.join(path, @glob)].sort
else else
result << path result << path
end end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册