Skip to content

Commit c92fd77

Browse files
davejrtesalberg
authored andcommitted
fixing errors with bundle file conditional statement (puppetlabs#436)
1 parent f13f62b commit c92fd77

File tree

1 file changed

+1
-2
lines changed
  • lib/puppet/provider/docker_stack

1 file changed

+1
-2
lines changed

lib/puppet/provider/docker_stack/ruby.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,7 @@ def destroy
7878
end
7979

8080
def bundle_file
81-
return unless resource[:bundle_file].nil?
82-
resource[:bundle_file].map { |x| ['-c', x] }.flatten
81+
return resource[:bundle_file].map { |x| ['-c', x] }.flatten unless resource[:bundle_file].nil?
8382
end
8483

8584
def compose_files

0 commit comments

Comments
 (0)