lib/licensed/sources/manifest.rb in licensed-2.14.4 vs lib/licensed/sources/manifest.rb in licensed-2.15.0

- old
+ new

@@ -168,10 +168,10 @@ # Returns all tracked files in the project def all_files # remove files if they are tracked but don't exist on the file system @all_files ||= Set.new(Licensed::Git.files || []) - .delete_if { |f| !File.exist?(f) } + .delete_if { |f| !File.exist?(File.join(Licensed::Git.repository_root, f)) } end class Dependency < Licensed::Dependency ANY_EXCEPT_COMMENT_CLOSE_REGEX = /(\*(?!\/)|[^\*])*/m.freeze HEADER_LICENSE_REGEX = /