Merge pull request #10475 from MikeMcQuaid/prof-exit-code
dev-cmd/prof: allow non-zero exit code.
This commit is contained in:
commit
f9b16fad7a
@ -32,7 +32,7 @@ module Homebrew
|
|||||||
if args.stackprof?
|
if args.stackprof?
|
||||||
Homebrew.install_gem_setup_path! "stackprof"
|
Homebrew.install_gem_setup_path! "stackprof"
|
||||||
with_env HOMEBREW_STACKPROF: "1" do
|
with_env HOMEBREW_STACKPROF: "1" do
|
||||||
safe_system ENV["HOMEBREW_RUBY_PATH"], brew_rb, *args.named
|
system ENV["HOMEBREW_RUBY_PATH"], brew_rb, *args.named
|
||||||
end
|
end
|
||||||
output_filename = "prof/d3-flamegraph.html"
|
output_filename = "prof/d3-flamegraph.html"
|
||||||
safe_system "stackprof --d3-flamegraph prof/stackprof.dump > #{output_filename}"
|
safe_system "stackprof --d3-flamegraph prof/stackprof.dump > #{output_filename}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user