formula: fix JSON API generation for no_autobump! method

Signed-off-by: botantony <antonsm21@gmail.com>
This commit is contained in:
botantony 2025-04-23 20:17:12 +02:00 committed by Anton Melnikov
parent 562c104b7e
commit 5c032d3616

View File

@ -4210,7 +4210,9 @@ class Formula
end end
sig { returns(T::Boolean) } sig { returns(T::Boolean) }
def autobump? = @autobump == true def autobump?
@autobump != false # @autobump may be `nil`
end
sig { returns(T::Boolean) } sig { returns(T::Boolean) }
def no_autobump_defined? = @no_autobump_defined == true def no_autobump_defined? = @no_autobump_defined == true