mirror of https://github.com/licensee/licensee.git
remove unused method
This commit is contained in:
parent
73c71ab844
commit
93c959c264
|
@ -155,14 +155,6 @@ module Licensee
|
|||
def load_file(_file)
|
||||
raise 'Not implemented'
|
||||
end
|
||||
|
||||
def path_relative_to_root(path)
|
||||
return path if is_a?(GitProject) || is_a?(GitHubProject) || path.nil?
|
||||
|
||||
root = Pathname.new(@dir)
|
||||
path = Pathname.new(path)
|
||||
path.relative_path_from(root).to_s
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue