We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1622e3 commit 20b843fCopy full SHA for 20b843f
lib/finch-api.rb
@@ -2,7 +2,7 @@
2
3
# We already ship the preferred sorbet manifests in the package itself.
4
# `tapioca` currently does not offer us a way to opt out of unnecessary compilation.
5
-if Object.const_defined?(:Tapioca) && caller_locations.any? { _1.path.end_with?("tapioca/cli.rb") }
+if Object.const_defined?(:Tapioca) && caller.chain([$0]).chain(ARGV).grep(/tapioca/)
6
Warning.warn(
7
<<~WARN
8
\n
0 commit comments