Skip to content

Commit 1b828d1

Browse files
committed
Merge branch 'master' of http://github.com/ged/ruby-pg
2 parents a10e8ae + 5d3b4de commit 1b828d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/helpers.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ def create_cert_from_csr(name, csr, ca_cert, ca_key, valid_years: 10, dns_names:
474474

475475
csr_cert.sign ca_key, OpenSSL::Digest::SHA256.new
476476

477-
open "#{output_dir}/#{name}", 'w' do |io|
477+
File.open "#{output_dir}/#{name}", 'w' do |io|
478478
io.puts csr_cert.to_text
479479
io.write csr_cert.to_pem
480480
end

0 commit comments

Comments
 (0)