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

This commit is contained in:
Ryan Cavicchioni 2025-03-09 16:08:50 -05:00
parent 93e86e0f17
commit 378b4b5af8
Signed by: ryanc
SSH Key Fingerprint: SHA256:KbXiwUnZnHFwFtt3Bytd+F3FN9pPHn1Z1cxMIE1TPbg
2 changed files with 4 additions and 5 deletions

View File

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

View File

@ -4,7 +4,7 @@ $LOAD_PATH.unshift File.dirname(__FILE__) + "/../lib"
require "sensitive"
ALPHABET = ('a' .. 'z').reduce(:concat)
ALPHABET = ("a".."z").reduce(:concat)
describe "Sensitive" do
before do