knife-essentials 0.7.1 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/chef_fs/file_system.rb +1 -1
- data/lib/chef_fs/version.rb +1 -1
- metadata +1 -1
data/lib/chef_fs/file_system.rb
CHANGED
@@ -312,7 +312,7 @@ module ChefFS
|
|
312
312
|
|
313
313
|
def self.get_or_create_parent(entry, options)
|
314
314
|
parent = entry.parent
|
315
|
-
if !parent.exists?
|
315
|
+
if parent && !parent.exists?
|
316
316
|
parent_parent = get_or_create_parent(entry.parent, options)
|
317
317
|
if options[:dry_run]
|
318
318
|
puts "Would create #{parent.path_for_printing}"
|
data/lib/chef_fs/version.rb
CHANGED