File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -11,4 +11,4 @@ if ENV["APP_ENV"] == "development"
11
11
require "github-release-party/tasks/heroku"
12
12
end
13
13
14
- Dir [ "lib/tasks/*.rake" ] . each { |f | load f }
14
+ Dir [ "lib/tasks/*.rake" ] . sort . each { |f | load f }
Original file line number Diff line number Diff line change 6
6
Bundler . require ( :default , ENV [ "APP_ENV" ] )
7
7
8
8
app_path = File . expand_path ( "../.." , __FILE__ )
9
- Dir [ "#{ app_path } /lib/*.rb" ] . each { |f | require f }
9
+ Dir [ "#{ app_path } /lib/**/* .rb" ] . sort . each { |f | require f }
10
10
11
11
# Expose the request path in the exception message for Sinatra::NotFound
12
12
# This makes it easier to scan the list of errors in Airbrake to see what paths causes 404 errors
@@ -52,5 +52,5 @@ def route_missing
52
52
end
53
53
end
54
54
55
- Dir [ "#{ app_path } /config/initializers/*.rb" ] . each { |f | require f }
56
- Dir [ "#{ app_path } /app/**/*.rb" ] . each { |f | require f }
55
+ Dir [ "#{ app_path } /config/initializers/*.rb" ] . sort . each { |f | require f }
56
+ Dir [ "#{ app_path } /app/**/*.rb" ] . sort . each { |f | require f }
You can’t perform that action at this time.
0 commit comments