Skip to content

Commit

Permalink
Sync output (#42)
Browse files Browse the repository at this point in the history
* Sync output

* Rubocop
  • Loading branch information
bellebaum authored Jan 10, 2022
1 parent 5e82086 commit 3729192
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,6 @@ def certificate=(new_cert)
File.delete filename if File.exist? filename
return
end
File.open(filename, 'w') { |file| file.write(new_cert) }
File.write(filename, new_cert)
end
end
4 changes: 4 additions & 0 deletions omejdn.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# frozen_string_literal: true

# Enforce logging output
$stdout.sync = true
$stderr.sync = true

require 'rubygems'
require 'bundler/setup'
require 'rack'
Expand Down

0 comments on commit 3729192

Please sign in to comment.