Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/sherlock/line_profiler.rb')
-rw-r--r--lib/gitlab/sherlock/line_profiler.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/sherlock/line_profiler.rb b/lib/gitlab/sherlock/line_profiler.rb
index 209ba784f9c..52d88f074b7 100644
--- a/lib/gitlab/sherlock/line_profiler.rb
+++ b/lib/gitlab/sherlock/line_profiler.rb
@@ -45,7 +45,7 @@ module Gitlab
require 'rblineprof'
retval = nil
- samples = lineprof(/^#{Rails.root.to_s}/) { retval = yield }
+ samples = lineprof(/^#{Rails.root}/) { retval = yield }
file_samples = aggregate_rblineprof(samples)