Skip to content

Commit

Permalink
fix: typo in error message (#368)
Browse files Browse the repository at this point in the history
* fix typo in error message

* deno fmt

* deno fmt

Co-authored-by: lumaghg <rotkehlchen567@gmail.com>
  • Loading branch information
lumaghg and lumaghg authored Aug 6, 2022
1 parent 09e6cfd commit d5445a4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ export class MongoClient {

getCluster() {
if (!this.#cluster) {
throw new MongoDriverError("MongoClient is no connected to the Database");
throw new MongoDriverError(
"MongoClient is not connected to the Database",
);
}

return this.#cluster;
Expand Down

0 comments on commit d5445a4

Please sign in to comment.