Shopify stye guide fixes

This commit is contained in:
Mike Angell
2019-09-18 15:54:32 +10:00
parent adb40c41b7
commit d90b912744
17 changed files with 72 additions and 83 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ profiler.run
end
end
if profile_type == :cpu && graph_filename = ENV['GRAPH_FILENAME']
if profile_type == :cpu && (graph_filename = ENV['GRAPH_FILENAME'])
File.open(graph_filename, 'w') do |f|
StackProf::Report.new(results).print_graphviz(nil, f)
end