in lib/licensee/projects/fs_project.rb [12:26]
def initialize(path, **args)
if ::File.file?(path)
@pattern = File.basename(path)
@dir = File.expand_path File.dirname(path)
else
@pattern = '*'
@dir = File.expand_path(path)
end
@root = File.expand_path(args.delete(:search_root) || @dir)
raise 'Search root must be the project path directory or its ancestor' unless valid_search_root?
super(**args)
end