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]]; }