fix lint errors
Some checks failed
Gitea Actions Demo / lint (push) Successful in 2m12s
Gitea Actions Demo / test (push) Failing after 2m4s
Gitea Actions Demo / release-image (push) Has been skipped

This commit is contained in:
2025-03-09 16:08:50 -05:00
parent 93e86e0f17
commit 5c2c7ec3b7
3 changed files with 5 additions and 6 deletions

View File

@ -31,9 +31,8 @@ class Config
end
def to_json(options = nil)
if options &&
options.key?(:pretty) &&
options[:pretty] == true
if options&.key?(:pretty) &&
options[:pretty] == true
JSON.pretty_generate as_json(options)
else
JSON.generate as_json(options)