lib/licensed/dependency.rb in licensed-3.7.0 vs lib/licensed/dependency.rb in licensed-3.7.1
- old
+ new
@@ -1,10 +1,10 @@
# frozen_string_literal: true
require "licensee"
module Licensed
class Dependency < Licensee::Projects::FSProject
- LEGAL_FILES_PATTERN = /(AUTHORS|NOTICE|LEGAL)(?:\..*)?\z/i
+ LEGAL_FILES_PATTERN = /#{File::SEPARATOR}(AUTHORS|NOTICE|LEGAL)(?:\..*)?\z/i
attr_reader :name
attr_reader :version
attr_reader :errors
attr_reader :path