class ViteRuby::CLI::Install
def run_with_capture(*args, **options)
def run_with_capture(*args, **options) Dir.chdir(root) do _, stderr, status = ViteRuby::IO.capture(*args, **options) say(stderr) unless status.success? || stderr.empty? end end
def run_with_capture(*args, **options) Dir.chdir(root) do _, stderr, status = ViteRuby::IO.capture(*args, **options) say(stderr) unless status.success? || stderr.empty? end end