Skip to content

Commit ac2adfe

Browse files
authored
Fix typos discovered by codespell (#1496)
# https://pypi.org/project/codespell % `codespell` ``` ./emsdk.py:1459: thier ==> their ./test/test.bat:1: equivilent ==> equivalent ./test/test.py:198: Specificlly ==> Specifically ./scripts/update_bazel_workspace.py:2: revisons ==> revisions ./scripts/update_node.py:11: direcotry ==> directory ./bazel/emscripten_toolchain/BUILD.bazel:57: implictly ==> implicitly ./docker/Dockerfile:87: terninal ==> terminal ```
1 parent c7d7853 commit ac2adfe

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

bazel/emscripten_toolchain/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ filegroup(
5454

5555
filegroup(name = "empty")
5656

57-
# dlmalloc.bc is implictly added by the emscripten toolchain
57+
# dlmalloc.bc is implicitly added by the emscripten toolchain
5858
cc_library(name = "malloc")
5959

6060
emscripten_cc_toolchain_config_rule(

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ RUN echo "## Update and install packages" \
8484
&& apt-get -qq -y update \
8585
# Somewhere in here apt sets up tzdata which asks for your time zone and blocks
8686
# waiting for the answer which you can't give as docker build doesn't read from
87-
# the terninal. The env vars set here avoid the interactive prompt and set the TZ.
87+
# the terminal. The env vars set here avoid the interactive prompt and set the TZ.
8888
&& DEBIAN_FRONTEND="noninteractive" TZ="America/San_Francisco" apt-get -qq install -y --no-install-recommends \
8989
sudo \
9090
libxml2 \

emsdk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1456,7 +1456,7 @@ def get_required_path(active_tools):
14561456
# the tools path to the users path if a program by that name is found
14571457
# in the existing PATH. This allows us to, for example, add our version
14581458
# node to the users PATH if, and only if, they don't already have a
1459-
# another version of node in thier PATH.
1459+
# another version of node in their PATH.
14601460
if hasattr(tool, 'activated_path_skip'):
14611461
current_path = which(tool.activated_path_skip)
14621462
# We found an executable by this name in the current PATH, but we

scripts/update_bazel_workspace.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python3
2-
# This script will update emsdk/bazel/revisons.bzl to the latest version of
2+
# This script will update emsdk/bazel/revisions.bzl to the latest version of
33
# emscripten. It reads emsdk/emscripten-releases-tags.json to get the latest
44
# version number. Then, it downloads the prebuilts for that version and computes
55
# the sha256sum for the archive. It then puts all this information into the

scripts/update_node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
http://storage.google.com/webassembly.
99
1010
For the windows version we also alter the directory layout to add the 'bin'
11-
direcotry.
11+
directory.
1212
"""
1313

1414
import urllib.request

test/test.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
:: equivilent of test.sh as windows bat file
1+
:: equivalent of test.sh as windows bat file
22
set PATH=%PATH%;%PYTHON_BIN%
33
CALL emsdk install latest
44
CALL emsdk activate latest

test/test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def test_tot_upstream(self):
195195
check_call(upstream_emcc + ' hello_world.c')
196196

197197
def test_closure(self):
198-
# Specificlly test with `--closure` so we know that node_modules is working
198+
# Specifically test with `--closure` so we know that node_modules is working
199199
check_call(upstream_emcc + ' hello_world.c --closure=1')
200200

201201
def test_specific_version(self):

0 commit comments

Comments
 (0)