Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

Commit 32fd0a3

Browse files
author
Melanie Gilman
committed
Return boolean from changed? method
1 parent ae714c3 commit 32fd0a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cc/formatters/snapshot_formatter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def initialize(payload)
6060
end
6161

6262
def changed?
63-
alert_constants_payload || improved_constants_payload
63+
alert_constants_payload.present? || improved_constants_payload.present?
6464
end
6565

6666
private

0 commit comments

Comments
 (0)