File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 20
20
21
21
# We already ship the preferred sorbet manifests in the package itself.
22
22
# `tapioca` currently does not offer us a way to opt out of unnecessary compilation.
23
- if Object . const_defined? ( :Tapioca ) && caller . chain ( [ $PROGRAM_NAME] ) . chain ( ARGV ) . grep ( /tapioca/ )
23
+ if Object . const_defined? ( :Tapioca ) &&
24
+ caller . chain ( [ $PROGRAM_NAME] ) . chain ( ARGV ) . any? ( /tapioca/ ) &&
25
+ ARGV . none? ( /dsl/ )
24
26
return
25
27
end
26
28
Original file line number Diff line number Diff line change @@ -875,8 +875,12 @@ def to_sorbet_type(type)
875
875
case type
876
876
in OnebusawaySDK ::Internal ::Util ::SorbetRuntimeSupport
877
877
type . to_sorbet_type
878
- else
878
+ in Class | Module
879
879
type
880
+ in true | false
881
+ T ::Boolean
882
+ else
883
+ type . class
880
884
end
881
885
end
882
886
end
You can’t perform that action at this time.
0 commit comments