Skip to content

Commit

Permalink
is this what the linter doesn't like?
Browse files Browse the repository at this point in the history
  • Loading branch information
darmanilink authored Feb 21, 2024
1 parent 6bf3708 commit 469cd6f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/twinklearv.js
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,7 @@ Twinkle.arv.callback.evaluate = function(e) {
case 'username':
types = form.getChecked('arvtype').map(Morebits.string.toLowerCaseFirstChar);
var censorUsername = types.includes('offensive'); //check if the username is marked offensive

// generate human-readable string, e.g. "misleading and promotional username"
if (types.length <= 2) {
types = types.join(' and ');
Expand Down

0 comments on commit 469cd6f

Please sign in to comment.