@travetto/model
Advanced tools
Comparing version 3.1.0-rc.7 to 3.1.0-rc.8
{ | ||
"name": "@travetto/model", | ||
"version": "3.1.0-rc.7", | ||
"version": "3.1.0-rc.8", | ||
"description": "Datastore abstraction for core operations.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -99,2 +99,6 @@ import crypto from 'crypto'; | ||
if (item.prePersist) { | ||
await item.prePersist(); | ||
} | ||
let errors: ValidationError[] = []; | ||
@@ -116,7 +120,2 @@ try { | ||
} | ||
if (item.prePersist) { | ||
await item.prePersist(); | ||
} | ||
// eslint-disable-next-line @typescript-eslint/consistent-type-assertions | ||
@@ -123,0 +122,0 @@ return item as T; |
152368