lib/vite_ruby/cli/install.rb in vite_ruby-3.2.8 vs lib/vite_ruby/cli/install.rb in vite_ruby-3.2.9

- 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 || stderr.empty? + say(stderr) unless status.success? || stderr.empty? end end # Internal: Support all popular package managers. def npm_install