diff options
author | gfyoung <gfyoung17@gmail.com> | 2018-09-23 12:44:14 -0700 |
---|---|---|
committer | gfyoung <gfyoung17@gmail.com> | 2018-09-23 12:48:02 -0700 |
commit | be42c05054bda2417fdd26e86e0f4c80c9d0ccb6 (patch) | |
tree | 50c21744e03193fa6ee2458d3904b127ac4317ef /app/controllers/import/gitea_controller.rb | |
parent | 4c8d2232ca3e4b97a313e9ac4d96dee2b3de9e84 (diff) | |
download | gitlab-ce-be42c05054bda2417fdd26e86e0f4c80c9d0ccb6.tar.gz |
Enable more frozen string in app/controllers/
Enables frozen string for the following:
* app/controllers/dashboard/**/*.rb
* app/controllers/explore/**/*.rb
* app/controllers/google_api/**/*.rb
* app/controllers/groups/**/*.rb
* app/controllers/import/**/*.rb
* app/controllers/instance_statistics/**/*.rb
* app/controllers/ldap/**/*.rb
* app/controllers/oauth/**/*.rb
* app/controllers/profiles/**/*.rb
Partially addresses #47424.
Diffstat (limited to 'app/controllers/import/gitea_controller.rb')
-rw-r--r-- | app/controllers/import/gitea_controller.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/import/gitea_controller.rb b/app/controllers/import/gitea_controller.rb index fbd851c64a7..382c684a408 100644 --- a/app/controllers/import/gitea_controller.rb +++ b/app/controllers/import/gitea_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class Import::GiteaController < Import::GithubController def new if session[access_token_key].present? && session[host_key].present? |