From b365150b73ba561b40b9572f31f91bdd33f21d1e Mon Sep 17 00:00:00 2001 From: Tom Date: Thu, 21 Jan 2021 18:07:15 +0000 Subject: [PATCH] Formatting --- src/stormdb.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/stormdb.js b/src/stormdb.js index a3bc4f8..ae205fc 100644 --- a/src/stormdb.js +++ b/src/stormdb.js @@ -120,7 +120,9 @@ class StormDB { let data = this.state; for (let i = 0; i < this.pointers.length; i++) { if (i < this.pointers.length - 1 && !data[this.pointers[i]]) { - throw new Error("Can't run .value() on non-existant property of non-existant object."); + throw new Error( + "Can't run .value() on non-existant property of non-existant object." + ); } data = data[this.pointers[i]]; }