Skip to content

Commit

Permalink
fix Lint/NonDeterministicRequireOrder: Sort files before requiring them.
Browse files Browse the repository at this point in the history
  • Loading branch information
leklund committed Feb 23, 2022
1 parent d77aee8 commit ca9a1aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
require "fastly_nsq/http"
require "fastly_nsq/testing"

Dir[File.expand_path("../{support,shared,matchers}/**/*.rb", __FILE__)].each { |f| require(f) }
Dir[File.expand_path("../{support,shared,matchers}/**/*.rb", __FILE__)].sort.each { |f| require(f) }

FastlyNsq::Testing.disable!

Expand Down

0 comments on commit ca9a1aa

Please sign in to comment.