lib/license_finder/scanner.rb in license_finder-5.11.1 vs lib/license_finder/scanner.rb in license_finder-6.0.0
- old
+ new
@@ -1,10 +1,12 @@
# frozen_string_literal: true
module LicenseFinder
class Scanner
- PACKAGE_MANAGERS = [GoModules, GoDep, GoWorkspace, Go15VendorExperiment, Glide, Gvt, Govendor, Trash, Dep, Bundler, NPM, Pip,
- Yarn, Bower, Maven, Gradle, CocoaPods, Rebar, Nuget, Carthage, Mix, Conan, Sbt, Cargo, Dotnet, Composer].freeze
+ PACKAGE_MANAGERS = [
+ GoModules, GoDep, GoWorkspace, Go15VendorExperiment, Glide, Gvt, Govendor, Trash, Dep, Bundler, NPM, Pip,
+ Yarn, Bower, Maven, Gradle, CocoaPods, Rebar, Nuget, Carthage, Mix, Conan, Sbt, Cargo, Dotnet, Composer, Pipenv
+ ].freeze
class << self
def remove_subprojects(paths)
paths.reject { |path| subproject?(Pathname(path)) }
end