Skip to content

Commit 0bbf258

Browse files
authored
minor typo semaphore.ts (#1618)
1 parent 3302cde commit 0bbf258

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jsonrpc/src/common/semaphore.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export class Semaphore<T = void> {
5555
const next = this._waiting.shift()!;
5656
this._active++;
5757
if (this._active > this._capacity) {
58-
throw new Error(`To many thunks active`);
58+
throw new Error(`Too many thunks active`);
5959
}
6060
try {
6161
const result = next.thunk();
@@ -80,4 +80,4 @@ export class Semaphore<T = void> {
8080
this.runNext();
8181
}
8282
}
83-
}
83+
}

0 commit comments

Comments
 (0)