mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Correct typos and spelling mistakes (#12812)
Over the years we accrued many spelling mistakes in the code base. This PR attempts to fix spelling mistakes and typos in all areas of the code that are extremely safe to change - comments - test descriptions - other low risk areas
This commit is contained in:
@@ -227,7 +227,7 @@ class Autospec::Manager
|
||||
file, line = line.split(' ')
|
||||
file = reverse_symlink(file)
|
||||
file = file.sub(Rails.root.to_s + "/", "")
|
||||
# process_change can aquire a mutex and block
|
||||
# process_change can acquire a mutex and block
|
||||
# the acceptor
|
||||
Thread.new do
|
||||
if file =~ /(es6|js)$/
|
||||
|
||||
@@ -23,7 +23,7 @@ module Autospec
|
||||
|
||||
command = begin
|
||||
line_specified = specs.split.any? { |s| s =~ /\:/ } # Parallel spec can't run specific line
|
||||
multiple_files = specs.split.count > 1 || specs == "spec" # Only paralellize multiple files
|
||||
multiple_files = specs.split.count > 1 || specs == "spec" # Only parallelize multiple files
|
||||
if ENV["PARALLEL_SPEC"] == '1' && multiple_files && !line_specified
|
||||
"bin/turbo_rspec #{args.join(" ")} #{specs.split.join(" ")}"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user