Skip to content

Commit

Permalink
Fix codespell pre-commit (#434)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbampton authored Jan 6, 2025
1 parent 690d206 commit 5f17c6d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
1 change: 1 addition & 0 deletions .github/linters/codespell.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
aci
childrens
childs
15 changes: 5 additions & 10 deletions src/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ var read_,
// Normally we don't log exceptions but instead let them bubble out the top
// level where the embedding environment (e.g. the browser) can handle
// them.
// However under v8 and node we sometimes exit the process direcly in which case
// However under v8 and node we sometimes exit the process directly in which case
// its up to use us to log the exception before exiting.
// If we fix https://github.com/emscripten-core/emscripten/issues/15080
// this may no longer be needed under node.
Expand Down Expand Up @@ -1304,7 +1304,7 @@ function initRuntime() {
assert(!runtimeInitialized);
runtimeInitialized = true;


callRuntimeCallbacks(__ATINIT__);
}

Expand Down Expand Up @@ -1464,7 +1464,7 @@ function abort(what) {
// simply make the program stop.

// Suppress closure compiler warning here. Closure compiler's builtin extern
// defintion for WebAssembly.RuntimeError claims it takes no arguments even
// definition for WebAssembly.RuntimeError claims it takes no arguments even
// though it can.
// TODO(https://github.com/google/closure-compiler/pull/3913): Remove if/when upstream closure gets fixed.

Expand Down Expand Up @@ -1713,7 +1713,7 @@ var tempI64;
// === Body ===

var ASM_CONSTS = {

};


Expand Down Expand Up @@ -1820,7 +1820,7 @@ var ASM_CONSTS = {
if (buffers[1].length) SYSCALLS.printChar(1, 10);
if (buffers[2].length) SYSCALLS.printChar(2, 10);
}

var SYSCALLS = {buffers:[null,[],[]],printChar:function(stream, curr) {
var buffer = SYSCALLS.buffers[stream];
assert(buffer);
Expand Down Expand Up @@ -2331,8 +2331,3 @@ if (Module['preInit']) {
}

run();





0 comments on commit 5f17c6d

Please sign in to comment.