fix(ruby): correct version author when changes exist. Fix Bug 73505

This commit is contained in:
sshakndr
2025-03-25 13:15:01 +07:00
parent ed586de8c8
commit 2447aaef12

View File

@ -294,7 +294,7 @@ class FileModel
changes = JSON.parse(file.read) # and parse its content
end
change = changes['changes'][0]
change = changes['changes'].last
# write information about changes to the object
obj['changes'] = change ? changes['changes'] : nil