Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
public async loadMetadata(client: ADTClient): Promise {
if (this.name) {
const struc = await client.objectStructure(this.path)
if (isClassStructure(struc)) {
this.structure = struc
}
}
return this
}