Skip to content

Commit

Permalink
Remove non-inclusive emoji (#99)
Browse files Browse the repository at this point in the history
The fist emoji is not inclusive of those within the differently-abled community,
such as amputees, people with symbrachydactyly, and persons who have fully-formed
hands but are unable to form them into a fist due to neuromuscular conditions.

It also can't be rendered properly in text-mode terminals.
  • Loading branch information
snickerbockers committed Jul 11, 2021
1 parent 9b4d240 commit e6c5bed
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/root_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func TestRunE(t *testing.T) {
assert.NoError(t, err)

got := buf.String()
expected := "No findings found. Stay woke \u270a\n"
expected := "No findings found.\n"
assert.Equal(t, expected, got)
})

Expand Down
2 changes: 1 addition & 1 deletion pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func NewConfig(filename string) (*Config, error) {

func (c *Config) GetSuccessExitMessage() string {
if c.SuccessExitMessage == nil {
return "No findings found. Stay woke ✊"
return "No findings found."
}
return *c.SuccessExitMessage
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func TestNewConfig(t *testing.T) {
assert.EqualValues(t, expected.Rules, c.Rules)

// check default config message
assert.Equal(t, "No findings found. Stay woke ✊", c.GetSuccessExitMessage())
assert.Equal(t, "No findings found.", c.GetSuccessExitMessage())
})

t.Run("config-empty-missing", func(t *testing.T) {
Expand Down

0 comments on commit e6c5bed

Please sign in to comment.