diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-09-15 23:55:22 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-09-16 13:15:38 -0700 |
commit | 321cda9a730ecb561ffa536eb47bc3397d378104 (patch) | |
tree | 298e3cf7f1e6215165881594786fe4aa1787b5bf | |
parent | 7ee8b83c78bed43add0e74144a27e51e5825dc30 (diff) | |
download | chef-321cda9a730ecb561ffa536eb47bc3397d378104.tar.gz |
Resolve Lint/RedundantRequireStatement warnings
These are required by Ruby out of the box so lets avoid trying to
require them again.
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/chef/chef_fs/parallelizer.rb | 1 | ||||
-rw-r--r-- | lib/chef/util/threaded_job_queue.rb | 2 | ||||
-rw-r--r-- | spec/tiny_server.rb | 1 |
3 files changed, 0 insertions, 4 deletions
diff --git a/lib/chef/chef_fs/parallelizer.rb b/lib/chef/chef_fs/parallelizer.rb index be7d93c669..c4d17a842d 100644 --- a/lib/chef/chef_fs/parallelizer.rb +++ b/lib/chef/chef_fs/parallelizer.rb @@ -1,4 +1,3 @@ -require "thread" require_relative "parallelizer/parallel_enumerable" class Chef diff --git a/lib/chef/util/threaded_job_queue.rb b/lib/chef/util/threaded_job_queue.rb index efbb67216f..bce25e9225 100644 --- a/lib/chef/util/threaded_job_queue.rb +++ b/lib/chef/util/threaded_job_queue.rb @@ -13,8 +13,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -require "thread" - class Chef class Util # A simple threaded job queue diff --git a/spec/tiny_server.rb b/spec/tiny_server.rb index 868933b042..786130d0d5 100644 --- a/spec/tiny_server.rb +++ b/spec/tiny_server.rb @@ -19,7 +19,6 @@ require "webrick" require "webrick/https" require "rack" -require "thread" require "singleton" require "open-uri" require "chef/config" |