Skip to content

Commit

Permalink
do not sort dependencies, fixes #1458
Browse files Browse the repository at this point in the history
  • Loading branch information
ujifgc committed Oct 16, 2013
1 parent 3c80cac commit d549380
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion padrino-core/lib/padrino-core/loader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def loaded?
#
def require_dependencies(*paths)
options = paths.extract_options!.merge( :cyclic => true )
files = paths.flatten.map{ |path| Dir[path] }.flatten.uniq.sort
files = paths.flatten.map{ |path| Dir[path] }.flatten.uniq

while files.present?
error, fatal, loaded = nil, nil, nil
Expand Down

0 comments on commit d549380

Please sign in to comment.