Skip to content

Commit

Permalink
Clean lint
Browse files Browse the repository at this point in the history
  • Loading branch information
blakegearin committed Mar 9, 2024
1 parent 08cdf77 commit 935987d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/controllers/v1/custom_faces_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def json(data, description, links_self = request.url)
success: true,
data: {
output: data,
description: description
description:
},
links: {
self: links_self
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/v1/emojis_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def json(resource)
content_type 'application/json'
{
success: true,
resource: resource,
resource:,
license: {
name: 'CC-BY 4.0',
url: 'https://creativecommons.org/licenses/by/4.0'
Expand Down
2 changes: 1 addition & 1 deletion app/models/custom_layers_emoji.rb
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def pluck_layers_from_twemoji(twemoji_xml, layers_value, emoji_id, fill)
def retrieve_and_cache_twemoji(twemojis, emoji_id, absolute_paths, remove_groups, emoji_cache_name)
twemoji_xml =
if absolute_paths
AbsoluteTwemoji.new(@twemoji_version, emoji_id, remove_groups: remove_groups).xml
AbsoluteTwemoji.new(@twemoji_version, emoji_id, remove_groups:).xml
else
Twemoji.new(@twemoji_version, emoji_id, remove_groups).xml
end
Expand Down

0 comments on commit 935987d

Please sign in to comment.