Skip to content

Commit

Permalink
Merge pull request #951 from striezel-stash/fix-typos
Browse files Browse the repository at this point in the history
Fix some typos
  • Loading branch information
agnat committed May 10, 2023
2 parents ddf70dc + 070fced commit 4e56585
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/cpp/bufferworkerpersistent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class BufferWorker : public AsyncWorker {
NAN_METHOD(DoSleep) {
v8::Local<v8::Object> bufferHandle = To<v8::Object>(info[1]).ToLocalChecked();
Callback *callback = new Callback(To<v8::Function>(info[2]).ToLocalChecked());
assert(!callback->IsEmpty() && "Callback shoud not be empty");
assert(!callback->IsEmpty() && "Callback should not be empty");
AsyncQueueWorker(new BufferWorker(
callback
, To<uint32_t>(info[0]).FromJust()
Expand Down
2 changes: 1 addition & 1 deletion tools/1to2.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ for (i = 1, length = groups.length; i < length; i++) {
groups[i][0] += total;
}

/* create the master RegExp, whis is the union of all the groups' expressions */
/* create the master RegExp, which is the union of all the groups' expressions */
master = new RegExp(groups.map(function (a) { return a[1]; }).join('|'), 'gm');

/* replacement function for String.replace, receives 21 arguments */
Expand Down

0 comments on commit 4e56585

Please sign in to comment.