mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
1 parent
a327e65e35
commit
3a98466b22
1 file changed
+2
-2
@@ -9,12 +9,12 @@ import logger from "./logger";
|
||||
|
||||
export class KubeconfigManager {
|
||||
protected configDir = app.getPath("temp");
|
||||
protected tempFile: string;
|
||||
protected tempFile: string = null;
|
||||
|
||||
constructor(protected cluster: Cluster, protected contextHandler: ContextHandler, protected port: number) { }
|
||||
|
||||
async getPath() {
|
||||
if (!this.tempFile) {
|
||||
if (!this.tempFile && this.tempFile !== undefined) {
|
||||
await this.init();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user