Module: AppProfiler::Yarn::WithSpeedscope
- Includes:
- Command
- Defined in:
- lib/app_profiler/yarn/with_speedscope.rb
Instance Method Summary collapse
Methods included from Command
Instance Method Details
#setup_yarn ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/app_profiler/yarn/with_speedscope.rb', line 8 def setup_yarn super # We currently only support this gem in the root Gemfile. # See https://github.com/Shopify/app_profiler/issues/15 # for more information yarn("add", "speedscope", "--dev", "--ignore-workspace-root-check") unless speedscope_added? end |