Skip to content

Commit cd0f81d

Browse files
authored
Update helpers.rb
1 parent dae9173 commit cd0f81d

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)