diff options
author | gfyoung <gfyoung17@gmail.com> | 2018-07-24 13:00:56 +0300 |
---|---|---|
committer | gfyoung <gfyoung17@gmail.com> | 2018-07-24 23:18:25 +0300 |
commit | d5bf57a6afe1ed9ba419a34b352020a44960b48d (patch) | |
tree | b2b77911cf0e18f4cb1b3c1cfac38c7000f69eb0 /app/presenters/commit_status_presenter.rb | |
parent | f5b45519dba89296cbd6f350f5c29b655d5aef8d (diff) |
Enable frozen string in presenters and policies
Enable frozen string in:
* app/presenters
* app/policies
Partially addresses #47424.
Diffstat (limited to 'app/presenters/commit_status_presenter.rb')
-rw-r--r-- | app/presenters/commit_status_presenter.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/presenters/commit_status_presenter.rb b/app/presenters/commit_status_presenter.rb index 9a7aaf4ef32..3a9088cfcb8 100644 --- a/app/presenters/commit_status_presenter.rb +++ b/app/presenters/commit_status_presenter.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class CommitStatusPresenter < Gitlab::View::Presenter::Delegated CALLOUT_FAILURE_MESSAGES = { unknown_failure: 'There is an unknown failure, please try again', |