mirror of https://github.com/licensee/licensee.git
allow path to be nil
This commit is contained in:
parent
46a0cf9f1c
commit
568e07da01
|
@ -12,7 +12,7 @@ class Licensee
|
|||
attr_accessor :contents
|
||||
|
||||
def initialize(path=nil)
|
||||
@path = File.expand_path(path)
|
||||
@path = File.expand_path(path) unless path.nil?
|
||||
end
|
||||
|
||||
def contents
|
||||
|
|
Loading…
Reference in New Issue