Fix misc comment typos (#37183)

This commit is contained in:
Matt Jankowski
2025-12-09 11:09:01 -05:00
committed by GitHub
parent 697569e5f9
commit ac71771d98
3 changed files with 3 additions and 3 deletions

View File

@@ -11,7 +11,7 @@ import type {
import type { ApiReportJSON } from 'mastodon/api_types/reports';
// Maximum number of avatars displayed in a notification group
// This corresponds to the max lenght of `group.sampleAccountIds`
// This corresponds to the max length of `group.sampleAccountIds`
export const NOTIFICATIONS_GROUP_MAX_AVATARS = 8;
interface BaseNotificationGroup

View File

@@ -28,7 +28,7 @@ module ApplicationExtension
end
def redirect_uris
# Doorkeeper stores the redirect_uri value as a newline delimeted list in
# Doorkeeper stores the redirect_uri value as a newline delimited list in
# the database:
redirect_uri.split
end

View File

@@ -53,7 +53,7 @@ class BulkImport < ApplicationRecord
BulkImport.increment_counter(:processed_items, bulk_import_id)
BulkImport.increment_counter(:imported_items, bulk_import_id) if imported
# Since the incrementation has been done atomically, concurrent access to `bulk_import` is now bening
# Since the incrementation has been done atomically, concurrent access to `bulk_import` is now benign
bulk_import = BulkImport.find(bulk_import_id)
bulk_import.update!(state: :finished, finished_at: Time.now.utc) if bulk_import.processed_items == bulk_import.total_items
end