From 0830c5734658aeabbd1ef131b55ae3de99110c68 Mon Sep 17 00:00:00 2001 From: Chedli Bourguiba Date: Sun, 9 Jun 2024 00:44:09 +0200 Subject: [PATCH] Fix frozen string literal issue --- lib/spring/json.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/spring/json.rb b/lib/spring/json.rb index d4d71b6e..58a8206c 100644 --- a/lib/spring/json.rb +++ b/lib/spring/json.rb @@ -364,7 +364,8 @@ def unquote(q) end end if rubydoesenc? - a[w] = '' << uchar + a[w] = '' + a[w] += uchar w += 1 else w += ucharenc(a, w, uchar)