Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
async load () {
const filepath = this.filepath
Log.info(`๐ Loading sfc ${filepath}`)
const doc = await workspace.openTextDocument(this.uri)
const meta = this._meta = squeeze(Global.rootpath, this.getSFCFileInfo(doc))
this._parsedSections = meta.components[filepath]
this.updateLocalesTree()
this._onDidChange.fire(this.name)
}