Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
async getValue() {
let value = await EntityAttribute.prototype.getValue.call(this);
if (value instanceof this.getEntityClass()) {
if (this.storage) {
value.setStorage(this.storage).setStorageFolder(this.storageFolder);
}
}
return value;
}