lib/tapioca/dsl/compilers/config.rb in tapioca-0.12.0 vs lib/tapioca/dsl/compilers/config.rb in tapioca-0.13.0
- old
+ new
@@ -1,8 +1,8 @@
# typed: strict
# frozen_string_literal: true
-return unless defined?(Config)
+return unless defined?(Config) && defined?(Config::VERSION) && defined?(Config.const_name)
module Tapioca
module Dsl
module Compilers
# `Tapioca::Dsl::Compilers::Config` generates RBI files for classes generated by the