Skip to content

Commit 1fa6e2f

Browse files
committed
Fix true/TRUE
Ruby 2.7 defined the uppercase constants, but Ruby 3 doesn't anymore.
1 parent 6951ab7 commit 1fa6e2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/pmdtester/builders/project_hasher.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def violation_type(violation)
111111
end
112112
end
113113

114-
def make_violation_hash(file_ref, violation, is_diff = TRUE)
114+
def make_violation_hash(file_ref, violation, is_diff = true)
115115
h = {
116116
't' => is_diff ? violation_type(violation) : '+',
117117
'l' => violation.line,

0 commit comments

Comments
 (0)