lib/spoom/cli/helper.rb in spoom-1.0.7 vs lib/spoom/cli/helper.rb in spoom-1.0.8
- old
+ new
@@ -1,8 +1,9 @@
# typed: strict
# frozen_string_literal: true
+require "fileutils"
require "pathname"
require "stringio"
module Spoom
module Cli
@@ -52,10 +53,10 @@
T.unsafe(self).options[:path] # TODO: requires_ancestor
end
sig { returns(String) }
def sorbet_config
- Pathname.new("#{exec_path}/#{Spoom::Config::SORBET_CONFIG}").cleanpath.to_s
+ Pathname.new("#{exec_path}/#{Spoom::Sorbet::CONFIG_PATH}").cleanpath.to_s
end
# Is the `--color` option true?
sig { returns(T::Boolean) }
def color?