Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
Touch account on successful response, change char shown when culled (m…
Browse files Browse the repository at this point in the history
…astodon#9293)

Just the color is not enough change since not everyone uses colored
terminals.
Touching the account makes it so that the account is not in the
threshold window in case of running again
  • Loading branch information
renatolond authored and Gargron committed Nov 20, 2018
1 parent d1d2377 commit c66739b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/mastodon/accounts_cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,9 @@ def cull
end

culled += 1
say('.', :green, false)
say('+', :green, false)
else
account.touch # Touch account even during dry run to avoid getting the account into the window again
say('.', nil, false)
end
end
Expand Down

0 comments on commit c66739b

Please sign in to comment.