diff options
author | dineshpanda <dineshpanda92@gmail.com> | 2019-09-01 00:55:25 +0530 |
---|---|---|
committer | dineshpanda <dineshpanda92@gmail.com> | 2019-09-04 09:52:02 +0530 |
commit | e908e117762d2b5d427b090b9c89b2e58ac382ac (patch) | |
tree | 145d577252857479a5188074d561ddb50c35a529 /lib/gitlab/url_helpers.rb | |
parent | df6f1dd93f0f427a2c66c07ea31bdb17a7efaca6 (diff) | |
download | gitlab-ce-e908e117762d2b5d427b090b9c89b2e58ac382ac.tar.gz |
Avoid calling freeze on already frozen strings in lib/gitlab
Diffstat (limited to 'lib/gitlab/url_helpers.rb')
-rw-r--r-- | lib/gitlab/url_helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/url_helpers.rb b/lib/gitlab/url_helpers.rb index 883585c196f..2a7919883c5 100644 --- a/lib/gitlab/url_helpers.rb +++ b/lib/gitlab/url_helpers.rb @@ -2,7 +2,7 @@ module Gitlab class UrlHelpers - WSS_PROTOCOL = "wss".freeze + WSS_PROTOCOL = "wss" def self.as_wss(url) return unless url.present? |