Skip to content

Commit e63a9f5

Browse files
committed
Fix for frozen string mutation
1 parent e43107b commit e63a9f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/query_packwerk/violations.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def sources_with_contexts(start_offset: 3, end_offset: 3)
183183
sig { params(start_offset: Integer, end_offset: Integer).returns(String) }
184184
def sources_with_contexts_report(start_offset: 3, end_offset: 3)
185185
contexts = sources_with_contexts(start_offset:, end_offset:)
186-
output = ''
186+
output = +''
187187

188188
contexts.each do |violated_constant, anonymized_sources|
189189
heavy_underline = '=' * violated_constant.size

0 commit comments

Comments
 (0)