Skip to content

Commit

Permalink
fix linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
NovemLinguae committed Dec 9, 2024
1 parent d3adc3a commit cec947b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/twinkletag.js
Original file line number Diff line number Diff line change
Expand Up @@ -2009,7 +2009,7 @@ Twinkle.tag.callbacks = {
* @return {true|undefined}
*/
Twinkle.tag.checkIncompatible = function(incompatibleTags, tagsToCheck, extraMessage = null) {
const count = incompatibleTags.filter(tag => tagsToCheck.includes(tag)).length;
const count = incompatibleTags.filter((tag) => tagsToCheck.includes(tag)).length;
if (count > 1) {
const incompatibleTagsString = '{{' + incompatibleTags.join('}}, {{') + '}}';
let message = 'Please select only one of: ' + incompatibleTagsString + '.';
Expand Down

0 comments on commit cec947b

Please sign in to comment.