Skip to content

Commit a6c4442

Browse files
NathanBaulchruyadorno
authored andcommitted
tools: fix typos
PR-URL: #55061 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 29f7325 commit a6c4442

9 files changed

+11
-11
lines changed

tools/actions/commit-queue.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ for pr in "$@"; do
5757
fi
5858

5959
git node land --autorebase --yes $MULTIPLE_COMMIT_POLICY "$pr" >output 2>&1 || echo "Failed to land #${pr}"
60-
# cat here otherwise we'll be supressing the output of git node land
60+
# cat here otherwise we'll be suppressing the output of git node land
6161
cat output
6262

6363
# TODO(mmarchini): workaround for ncu not returning the expected status code,

tools/dep_updaters/utils.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
ROOT=$(cd "$(dirname "$0")/../.." && pwd)
44
export ROOT
55

6-
# This function compare new version with current version of a depdendency and
6+
# This function compare new version with current version of a dependency and
77
# exit the script if the versions are the same
88
#
99
# $1 is the package name e.g. 'acorn', 'ada', 'base64' etc. See the file
@@ -55,7 +55,7 @@ finalize_version_update() {
5555
# https://github.com/nodejs/node/blob/main/doc/contributing/maintaining/maintaining-dependencies.md
5656
# for a complete list of package name
5757
# $2 is the downloaded archive
58-
# $3 (optional) is the deposited sha256 cheksum. When provided, it is checked
58+
# $3 (optional) is the deposited sha256 checksum. When provided, it is checked
5959
# against the checksum generated from the archive
6060
log_and_verify_sha256sum() {
6161
package_name="$1"

tools/gen_node_def.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// symbols from the DLL and redirects them back to the DLL.
1212
// This allows node.exe to export the same symbols as libnode.dll
1313
// when building Node.js as a shared library. This is conceptually
14-
// similary to the create_expfile.sh script used on AIX.
14+
// similar to the create_expfile.sh script used on AIX.
1515
//
1616
// Generating this .def file requires parsing data out of the
1717
// PE32/PE32+ file format. Helper structs are defined in <Windows.h>

tools/gypi_to_gn.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
in GYP down requires a level of indirection. Any calls will have to be removed
3838
and cleaned up once the GYP-to-GN transition is complete.
3939
As a result, we only use this script when the list of files is large and
40-
frequently-changing. In these cases, having one canonical list outweights the
40+
frequently-changing. In these cases, having one canonical list outweighs the
4141
downsides.
4242
As of this writing, the GN build is basically complete. It's likely that all
4343
large and frequently changing targets where this is appropriate use this
@@ -253,7 +253,7 @@ def LoadPythonDictionary(path):
253253

254254
def ReplaceSubstrings(values, search_for, replace_with):
255255
"""Recursively replaces substrings in a value.
256-
Replaces all substrings of the "search_for" with "repace_with" for all
256+
Replaces all substrings of the "search_for" with "replace_with" for all
257257
strings occurring in "values". This is done by recursively iterating into
258258
lists as well as the keys and values of dictionaries."""
259259
if isinstance(values, str):

tools/msvs/vswhere_usability_wrapper.cmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if "%~3"=="prerelease" set VSWHERE_WITH_PRERELEASE=1
99
set "InstallerPath=%ProgramFiles(x86)%\Microsoft Visual Studio\Installer"
1010
if not exist "%InstallerPath%" set "InstallerPath=%ProgramFiles%\Microsoft Visual Studio\Installer"
1111
if not exist "%InstallerPath%" goto :no-vswhere
12-
:: Manipulate %Path% for easier " handeling
12+
:: Manipulate %Path% for easier " handling
1313
set "Path=%Path%;%InstallerPath%"
1414
where vswhere 2> nul > nul
1515
if errorlevel 1 goto :no-vswhere

tools/pseudo-tty.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def pipe(sfd, dfd):
4747
if __name__ == '__main__':
4848
argv = sys.argv[1:]
4949

50-
# Make select() interruptable by SIGCHLD.
50+
# Make select() interruptible by SIGCHLD.
5151
signal.signal(signal.SIGCHLD, lambda nr, _: None)
5252

5353
parent_fd, child_fd = pty.openpty()

tools/v8_gypfiles/features.gypi

+1-1
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@
219219
# Enable third party HEAP library
220220
'v8_enable_third_party_heap%': 0,
221221

222-
# Libaries used by third party heap
222+
# Libraries used by third party heap
223223
'v8_third_party_heap_libs%': [],
224224

225225
# Source code used by third party heap

tools/v8_gypfiles/inspector.gypi

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
# Flat merge `third_party/inspector_protocol:inspector_string_conversions`
106106
'<(inspector_path)/v8-string-conversions.cc',
107107
'<(inspector_path)/v8-string-conversions.h',
108-
# Flat merge `third_party/inspector_protocal:crdtp_platform`
108+
# Flat merge `third_party/inspector_protocol:crdtp_platform`
109109
'<(inspector_protocol_path)/crdtp/json_platform.h',
110110
'<(inspector_protocol_path)/crdtp/json_platform_v8.cc',
111111
# Flat merge `third_party/inspector_protocol:crdtp`

tools/v8_gypfiles/v8.gyp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1897,7 +1897,7 @@
18971897
['enable_lto=="true"', {
18981898
'cflags_cc': [ '-fno-lto' ],
18991899
}],
1900-
# Chnges in push_registers_asm.cc in V8 v12.8 requires using
1900+
# Changes in push_registers_asm.cc in V8 v12.8 requires using
19011901
# push_registers_masm on Windows even with ClangCL on x64
19021902
['OS=="win"', {
19031903
'conditions': [

0 commit comments

Comments
 (0)