lib/gitlab/dangerfiles/emoji_checker.rb in gitlab-dangerfiles-4.7.0 vs lib/gitlab/dangerfiles/emoji_checker.rb in gitlab-dangerfiles-4.8.0
- old
+ new
@@ -25,10 +25,10 @@
[\u{2600}-\u{26FF}]
)}x.freeze
def initialize
names = JSON.parse(File.read(DIGESTS)).keys +
- JSON.parse(File.read(ALIASES)).keys
+ JSON.parse(File.read(ALIASES)).keys
@emoji = names.map { |name| ":#{name}:" }
end
def includes_text_emoji?(text)