From 7db1c1575f45eb4fe1b889a71df4fb9d7ef4bc77 Mon Sep 17 00:00:00 2001 From: Stan Hu Date: Mon, 23 Jul 2018 09:49:39 -0700 Subject: Remove instrumentation Rouge::Plugins::{Redcarpet,CommonMark} The removal in 4d376c667d72e0eca22b4abe76e0bf09434fc4bd had an unintended side effect in that it got rid of the `require 'rouge/plugins/redcarpet'`. --- config/initializers/8_metrics.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'config/initializers/8_metrics.rb') diff --git a/config/initializers/8_metrics.rb b/config/initializers/8_metrics.rb index fe37b7710aa..4d8d35bf6cf 100644 --- a/config/initializers/8_metrics.rb +++ b/config/initializers/8_metrics.rb @@ -80,8 +80,6 @@ def instrument_classes(instrumentation) instrumentation.instrument_instance_methods(RepositoryCheck::SingleRepositoryWorker) - instrumentation.instrument_instance_methods(Rouge::Plugins::CommonMark) - instrumentation.instrument_instance_methods(Rouge::Plugins::Redcarpet) instrumentation.instrument_instance_methods(Rouge::Formatters::HTMLGitlab) [:XML, :HTML].each do |namespace| -- cgit v1.2.1