diff options
author | Matija Čupić <matteeyah@gmail.com> | 2018-09-07 21:18:26 +0200 |
---|---|---|
committer | Matija Čupić <matteeyah@gmail.com> | 2018-09-07 21:18:26 +0200 |
commit | 95b296f8ac8578e142efd6a60a582be4da5b09be (patch) | |
tree | 9014eb0ae9730ec8fb32d1f76e277e92b8785631 /app/models/blob_viewer | |
parent | cd72189fc0127e9993eebaba9569f912394cc5c9 (diff) | |
download | gitlab-ce-95b296f8ac8578e142efd6a60a582be4da5b09be.tar.gz |
Change ExternalFile to retrieve local file from repository instead of GitLab project
CE mirror of 03c6094997023d9c8875ced421a6c9ef39a4af44
Diffstat (limited to 'app/models/blob_viewer')
-rw-r--r-- | app/models/blob_viewer/gitlab_ci_yml.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/blob_viewer/gitlab_ci_yml.rb b/app/models/blob_viewer/gitlab_ci_yml.rb index 1a86f04b1b9..f5e4367fc09 100644 --- a/app/models/blob_viewer/gitlab_ci_yml.rb +++ b/app/models/blob_viewer/gitlab_ci_yml.rb @@ -15,7 +15,7 @@ module BlobViewer prepare! - @validation_message = Gitlab::Ci::YamlProcessor.validation_message(blob.data) + @validation_message = Gitlab::Ci::YamlProcessor.validation_message(blob.data, project) end def valid? |