lib/vite_ruby/cli/install.rb in vite_ruby-3.2.4 vs lib/vite_ruby/cli/install.rb in vite_ruby-3.2.5
- old
+ new
@@ -109,10 +109,10 @@
end
def run_with_capture(*args, **options)
Dir.chdir(root) do
_, stderr, status = ViteRuby::IO.capture(*args, **options)
- say(stderr) unless status.success? || stderr.to_s.empty?
+ say(stderr) unless status || stderr.empty?
end
end
# Internal: Support all popular package managers.
def npm_install