Skip to content

Commit

Permalink
Fix typos (mastodon#18604)
Browse files Browse the repository at this point in the history
* Fix typos

Found via `codespell -q 3 -S ./CHANGELOG.md,./AUTHORS.md,./config/locales,./app/javascript/mastodon/locales -L ba,keypair,medias,pixelx,ro`

* Follow-up typo fix
  • Loading branch information
luzpaz authored and aescling committed Nov 17, 2022
1 parent e635f7e commit f8d665f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/mastodon/search_cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class SearchCLI < Thor
changed since the last run. Index upgrades erase index data.
Even if creating or upgrading indices is not necessary, data from the
database will be imported into the indices, unless overriden with --no-import.
database will be imported into the indices, unless overridden with --no-import.
LONG_DESC
def deploy
if options[:concurrency] < 1
Expand Down
2 changes: 1 addition & 1 deletion lib/tasks/mastodon.rake
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace :mastodon do
# When the application code gets loaded, it runs `lib/mastodon/redis_configuration.rb`.
# This happens before application environment configuration and sets REDIS_URL etc.
# These variables are then used even when REDIS_HOST etc. are changed, so clear them
# out so they don't interfer with our new configuration.
# out so they don't interfere with our new configuration.
ENV.delete('REDIS_URL')
ENV.delete('CACHE_REDIS_URL')
ENV.delete('SIDEKIQ_REDIS_URL')
Expand Down
2 changes: 1 addition & 1 deletion spec/lib/request_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
expect(a_request(:get, 'http://example.com').with(headers: subject.headers)).to have_been_made
end

it 'closes underlaying connection' do
it 'closes underlying connection' do
expect_any_instance_of(HTTP::Client).to receive(:close)
expect { |block| subject.perform &block }.to yield_control
end
Expand Down

0 comments on commit f8d665f

Please sign in to comment.