Skip to content

Commit d5ec192

Browse files
davejrtflorindragos
authored andcommitted
fixing errors with bundle file conditional statement (#436)
1 parent f13f62b commit d5ec192

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

+1-2
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)