Fix the check for target directory path.
This commit is contained in:
parent
45882f3dd7
commit
3a8d90e8ac
1 changed files with 2 additions and 2 deletions
|
@ -133,8 +133,8 @@ class Licenser
|
|||
end
|
||||
|
||||
target_parent = File.dirname(@target_dir)
|
||||
if !File.exist?(@target_parent)
|
||||
raise "Path to target directory doesn't exist: #{@target_parent}"
|
||||
if !File.exist?(target_parent)
|
||||
raise "Path to target directory doesn't exist: #{target_parent}"
|
||||
end
|
||||
|
||||
if !File.exist?(@license_file)
|
||||
|
|
Loading…
Add table
Reference in a new issue