Skip to content

Commit c1f0b46

Browse files
authored
chore: fix typo in MiddlewareStack (#1104)
1 parent 3dfb40f commit c1f0b46

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/middleware-stack/src/MiddlewareStack.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ export class MiddlewareStack<Input extends object, Output extends object> {
389389
* 2. if `toMiddleware` doesn't exist in the specific `step`, the middleware will be appended
390390
* to specific `step` with priority of `normal`
391391
*/
392-
private geMiddlewareList(): Array<MiddlewareType<Input, Output>> {
392+
private getMiddlewareList(): Array<MiddlewareType<Input, Output>> {
393393
let middlewareList: Array<MiddlewareType<Input, Output>> = [];
394394
const [orphanedRelativeEntries, anchors] = this.normalizeRelativeEntries();
395395
let entryList = [...this.absoluteEntries, ...orphanedRelativeEntries];
@@ -427,7 +427,7 @@ export class MiddlewareStack<Input extends object, Output extends object> {
427427
handler: DeserializeHandler<InputType, OutputType>,
428428
context: HandlerExecutionContext
429429
): Handler<InputType, OutputType> {
430-
for (const middleware of this.geMiddlewareList()) {
430+
for (const middleware of this.getMiddlewareList()) {
431431
handler = middleware(
432432
handler as Handler<Input, OutputType>,
433433
context

0 commit comments

Comments
 (0)