lib/license_finder/scanner.rb in license_finder-5.4.1 vs lib/license_finder/scanner.rb in license_finder-5.5.0
- old
+ new
@@ -1,7 +1,9 @@
+# frozen_string_literal: true
+
module LicenseFinder
class Scanner
- PACKAGE_MANAGERS = [GoDep, GoWorkspace, Go15VendorExperiment, Glide, Gvt, Govendor, Dep, Bundler, NPM, Pip,
+ PACKAGE_MANAGERS = [GoModules, GoDep, GoWorkspace, Go15VendorExperiment, Glide, Gvt, Govendor, Dep, Bundler, NPM, Pip,
Yarn, Bower, Maven, Gradle, CocoaPods, Rebar, Nuget, Carthage, Mix, Conan, Sbt, Cargo].freeze
def initialize(config = { project_path: Pathname.new('') })
@config = config
@project_path = @config[:project_path]