Skip to content
This repository has been archived by the owner on Dec 23, 2022. It is now read-only.

Commit

Permalink
Merge b952068 into 9c6376f
Browse files Browse the repository at this point in the history
  • Loading branch information
smellman committed May 25, 2020
2 parents 9c6376f + b952068 commit 543e557
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@ rvm:
- 2.1.5
- 2.2.0
- 2.3.0
- 2.4
- 2.5
sudo: false
cache: bundler
2 changes: 1 addition & 1 deletion lib/chrono_logger.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def initialize(log = nil, opt = {})
end

def write(message)
check_and_shift_log if @pattern
check_and_shift_log if defined? @pattern
@dev.write(message)
rescue
warn("log writing failed. #{$!}")
Expand Down

0 comments on commit 543e557

Please sign in to comment.