From 0f375db9c6434c49dd3c738e85ab9fc91ee4e7a3 Mon Sep 17 00:00:00 2001 From: Nathan Baulch Date: Wed, 16 Oct 2024 00:59:49 +1100 Subject: [PATCH] tools: fix typos MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/55061 Reviewed-By: Michaƫl Zasso Reviewed-By: Luigi Pinca --- tools/actions/commit-queue.sh | 2 +- tools/dep_updaters/utils.sh | 4 ++-- tools/gen_node_def.cc | 2 +- tools/gypi_to_gn.py | 4 ++-- tools/msvs/vswhere_usability_wrapper.cmd | 2 +- tools/pseudo-tty.py | 2 +- tools/v8_gypfiles/features.gypi | 2 +- tools/v8_gypfiles/inspector.gypi | 2 +- tools/v8_gypfiles/v8.gyp | 2 +- 9 files changed, 11 insertions(+), 11 deletions(-) diff --git a/tools/actions/commit-queue.sh b/tools/actions/commit-queue.sh index 7778e07fe4b..3b3138053cb 100755 --- a/tools/actions/commit-queue.sh +++ b/tools/actions/commit-queue.sh @@ -57,7 +57,7 @@ for pr in "$@"; do fi git node land --autorebase --yes $MULTIPLE_COMMIT_POLICY "$pr" >output 2>&1 || echo "Failed to land #${pr}" - # cat here otherwise we'll be supressing the output of git node land + # cat here otherwise we'll be suppressing the output of git node land cat output # TODO(mmarchini): workaround for ncu not returning the expected status code, diff --git a/tools/dep_updaters/utils.sh b/tools/dep_updaters/utils.sh index 774da85aafc..76a40d4bbc4 100644 --- a/tools/dep_updaters/utils.sh +++ b/tools/dep_updaters/utils.sh @@ -3,7 +3,7 @@ ROOT=$(cd "$(dirname "$0")/../.." && pwd) export ROOT -# This function compare new version with current version of a depdendency and +# This function compare new version with current version of a dependency and # exit the script if the versions are the same # # $1 is the package name e.g. 'acorn', 'ada', 'base64' etc. See the file @@ -55,7 +55,7 @@ finalize_version_update() { # https://github.com/nodejs/node/blob/main/doc/contributing/maintaining/maintaining-dependencies.md # for a complete list of package name # $2 is the downloaded archive -# $3 (optional) is the deposited sha256 cheksum. When provided, it is checked +# $3 (optional) is the deposited sha256 checksum. When provided, it is checked # against the checksum generated from the archive log_and_verify_sha256sum() { package_name="$1" diff --git a/tools/gen_node_def.cc b/tools/gen_node_def.cc index f4cabbd84c1..10e2939c80b 100644 --- a/tools/gen_node_def.cc +++ b/tools/gen_node_def.cc @@ -11,7 +11,7 @@ // symbols from the DLL and redirects them back to the DLL. // This allows node.exe to export the same symbols as libnode.dll // when building Node.js as a shared library. This is conceptually -// similary to the create_expfile.sh script used on AIX. +// similar to the create_expfile.sh script used on AIX. // // Generating this .def file requires parsing data out of the // PE32/PE32+ file format. Helper structs are defined in diff --git a/tools/gypi_to_gn.py b/tools/gypi_to_gn.py index 08eb948f5b2..327cd38d7ba 100755 --- a/tools/gypi_to_gn.py +++ b/tools/gypi_to_gn.py @@ -37,7 +37,7 @@ use "git grep" to find files in the GN build any more, and tracking everything in GYP down requires a level of indirection. Any calls will have to be removed and cleaned up once the GYP-to-GN transition is complete. As a result, we only use this script when the list of files is large and -frequently-changing. In these cases, having one canonical list outweights the +frequently-changing. In these cases, having one canonical list outweighs the downsides. As of this writing, the GN build is basically complete. It's likely that all large and frequently changing targets where this is appropriate use this @@ -253,7 +253,7 @@ def LoadPythonDictionary(path): def ReplaceSubstrings(values, search_for, replace_with): """Recursively replaces substrings in a value. - Replaces all substrings of the "search_for" with "repace_with" for all + Replaces all substrings of the "search_for" with "replace_with" for all strings occurring in "values". This is done by recursively iterating into lists as well as the keys and values of dictionaries.""" if isinstance(values, str): diff --git a/tools/msvs/vswhere_usability_wrapper.cmd b/tools/msvs/vswhere_usability_wrapper.cmd index 5da35d11ae2..beb6cdc24db 100644 --- a/tools/msvs/vswhere_usability_wrapper.cmd +++ b/tools/msvs/vswhere_usability_wrapper.cmd @@ -9,7 +9,7 @@ if "%~3"=="prerelease" set VSWHERE_WITH_PRERELEASE=1 set "InstallerPath=%ProgramFiles(x86)%\Microsoft Visual Studio\Installer" if not exist "%InstallerPath%" set "InstallerPath=%ProgramFiles%\Microsoft Visual Studio\Installer" if not exist "%InstallerPath%" goto :no-vswhere -:: Manipulate %Path% for easier " handeling +:: Manipulate %Path% for easier " handling set "Path=%Path%;%InstallerPath%" where vswhere 2> nul > nul if errorlevel 1 goto :no-vswhere diff --git a/tools/pseudo-tty.py b/tools/pseudo-tty.py index 96300a679a5..5ce90250506 100755 --- a/tools/pseudo-tty.py +++ b/tools/pseudo-tty.py @@ -47,7 +47,7 @@ def pipe(sfd, dfd): if __name__ == '__main__': argv = sys.argv[1:] - # Make select() interruptable by SIGCHLD. + # Make select() interruptible by SIGCHLD. signal.signal(signal.SIGCHLD, lambda nr, _: None) parent_fd, child_fd = pty.openpty() diff --git a/tools/v8_gypfiles/features.gypi b/tools/v8_gypfiles/features.gypi index 6e21dac6d70..18479d7d2ab 100644 --- a/tools/v8_gypfiles/features.gypi +++ b/tools/v8_gypfiles/features.gypi @@ -219,7 +219,7 @@ # Enable third party HEAP library 'v8_enable_third_party_heap%': 0, - # Libaries used by third party heap + # Libraries used by third party heap 'v8_third_party_heap_libs%': [], # Source code used by third party heap diff --git a/tools/v8_gypfiles/inspector.gypi b/tools/v8_gypfiles/inspector.gypi index 2f227f6fc2b..aed336e76ee 100644 --- a/tools/v8_gypfiles/inspector.gypi +++ b/tools/v8_gypfiles/inspector.gypi @@ -105,7 +105,7 @@ # Flat merge `third_party/inspector_protocol:inspector_string_conversions` '<(inspector_path)/v8-string-conversions.cc', '<(inspector_path)/v8-string-conversions.h', - # Flat merge `third_party/inspector_protocal:crdtp_platform` + # Flat merge `third_party/inspector_protocol:crdtp_platform` '<(inspector_protocol_path)/crdtp/json_platform.h', '<(inspector_protocol_path)/crdtp/json_platform_v8.cc', # Flat merge `third_party/inspector_protocol:crdtp` diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp index e7ffde40d85..226a3f6df54 100644 --- a/tools/v8_gypfiles/v8.gyp +++ b/tools/v8_gypfiles/v8.gyp @@ -1893,7 +1893,7 @@ ['enable_lto=="true"', { 'cflags_cc': [ '-fno-lto' ], }], - # Chnges in push_registers_asm.cc in V8 v12.8 requires using + # Changes in push_registers_asm.cc in V8 v12.8 requires using # push_registers_masm on Windows even with ClangCL on x64 ['OS=="win"', { 'conditions': [