diff options
Diffstat (limited to 'lib/gitlab/template/finders/repo_template_finder.rb')
-rw-r--r-- | lib/gitlab/template/finders/repo_template_finder.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitlab/template/finders/repo_template_finder.rb b/lib/gitlab/template/finders/repo_template_finder.rb index cb7957e2af9..33f07fa0120 100644 --- a/lib/gitlab/template/finders/repo_template_finder.rb +++ b/lib/gitlab/template/finders/repo_template_finder.rb @@ -18,6 +18,7 @@ module Gitlab def read(path) blob = @repository.blob_at(@commit.id, path) if @commit raise FileNotFoundError if blob.nil? + blob.data end |