Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
aricart committed Nov 14, 2023
1 parent 9da08fe commit 3cd8625
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ point into the JS Doc is the
[NatsConnection](https://nats-io.github.io/nats.deno/interfaces/NatsConnection.html)
all functionality starts with a connection.

**Check out [NATS by example](https://natsbyexample.com) - An evolving collection of runnable, cross-client reference examples for NATS.**
**Check out [NATS by example](https://natsbyexample.com) - An evolving
collection of runnable, cross-client reference examples for NATS.**

## Basics

Expand Down
2 changes: 1 addition & 1 deletion jetstream/jslister.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export class ListerImpl<T> implements Lister<T>, AsyncIterable<T> {
// offsets are reported in total, so need to count
// all the entries returned
const count = this.countResponse(r as ApiResponse);
if(count === 0) {
if (count === 0) {
// we are done if we get a null set of infos
return [];
}
Expand Down
2 changes: 0 additions & 2 deletions jetstream/tests/jsm_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,6 @@ Deno.test("jsm - stream names is empty", async () => {
await cleanup(ns, nc);
});



Deno.test("jsm - lister after empty, empty", async () => {
const { ns, nc } = await setup(jetstreamServerConf({}, true));
const jsm = await nc.jetstreamManager();
Expand Down

0 comments on commit 3cd8625

Please sign in to comment.