Skip to content

Commit bd01933

Browse files
authored
Update lib/filewatch/sincedb_collection.rb
1 parent 0162182 commit bd01933

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/filewatch/sincedb_collection.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def associate(watched_file)
6868
# and due to the window handling of many files
6969
# this file may not be opened in this session.
7070
# a new value will be added when the file is opened
71-
logger.trace("associate: unmatched", :filename => watched_file.filename)
71+
logger.trace? && logger.trace("associate: unmatched", :filename => watched_file.filename)
7272
return true
7373
end
7474
logger.trace? && logger.trace("associate: found sincedb record", :filename => watched_file.filename,

0 commit comments

Comments
 (0)