Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sho0126hiro committed Oct 27, 2022
1 parent caeb33f commit 4cfc478
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/pkg/slack/reaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func ExtractReactionName(reaction string) string {
}

// regReactionSkinTone is regexp which indicate skin-tone names supported by Slack
var regReactionSkinTone = regexp.MustCompile("skin-tone-\\d+")
var regReactionSkinTone = regexp.MustCompile(`skin-tone-\d+`)

// RemoveSkinToneFromReaction uses regexp to remove the skin-tone string
func RemoveSkinToneFromReaction(reaction string) string {
Expand Down

0 comments on commit 4cfc478

Please sign in to comment.