mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
missed one
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
6fa0692bea
commit
672bf1fc10
@ -2,17 +2,17 @@ import { BaseStore } from "../common/base-store"
|
||||
import * as path from "path"
|
||||
import { LensExtension } from "./lens-extension"
|
||||
|
||||
export class ExtensionStore<T = any> extends BaseStore<T> {
|
||||
export abstract class ExtensionStore<T> extends BaseStore<T> {
|
||||
protected extension: LensExtension
|
||||
|
||||
async loadExtension(extension: LensExtension) {
|
||||
this.extension = extension
|
||||
await super.load()
|
||||
return super.load()
|
||||
}
|
||||
|
||||
async load() {
|
||||
if (!this.extension) { return }
|
||||
await super.load()
|
||||
return super.load()
|
||||
}
|
||||
|
||||
protected cwd() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user