Skip to content

Commit

Permalink
chore: prettify *.md files missed in smithy-lang#1185 (smithy-lang#1387)
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr authored and srchase committed Jun 16, 2023
1 parent 5a4ff18 commit 2b924dc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/middleware-stack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ You can add middleware to specified step with:

```javascript
stack.add(middleware, {
step: "finalizeRequest"
step: "finalizeRequest",
});
```

Expand All @@ -38,7 +38,7 @@ This approach works for most cases. Sometimes you want your middleware to be exe
```javascript
stack.add(middleware, {
step: "finalizeRequest",
priority: "high"
priority: "high",
});
```

Expand All @@ -51,12 +51,12 @@ In some cases, you might want to execute your middleware before some other known
```javascript
stack.add(middleware, {
step: "finalizeRequest",
name: "myMiddleware"
name: "myMiddleware",
});
stack.addRelativeTo(anotherMiddleware, {
step: "finalizeRequest",
relation: "before", //or 'after'
toMiddleware: "myMiddleware"
toMiddleware: "myMiddleware",
});
```

Expand Down Expand Up @@ -92,7 +92,7 @@ If you specify tags for middleware, you can remove multiple middleware at a time
```javascript
stack.add(middleware, {
step: "finalizeRequest",
tags: ["final"]
tags: ["final"],
});
stack.removeByTag("final");
```

0 comments on commit 2b924dc

Please sign in to comment.