Skip to content

Commit 34779a6

Browse files
committed
Fix: Ruby 3.4 compatibility for JSON.generate
1 parent f36b71e commit 34779a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/puppet-languageserver-sidecar/puppet_strings_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ def to_h
370370
end
371371

372372
def to_json(*options)
373-
JSON.generate(to_h, options)
373+
JSON.generate(to_h, *options)
374374
end
375375

376376
# Deserialisation

0 commit comments

Comments
 (0)