File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- import { type SecretStorage , workspace } from "vscode" ;
1+ import { workspace } from "vscode" ;
22
33import { ApiKey } from "@/lib/api-key" ;
44import { ExtensionID } from "@/lib/constants" ;
55
66export class ConfigManager {
7- apiKey = new ApiKey ( this . secrets ) ;
8-
9- constructor ( private readonly secrets : SecretStorage ) { }
7+ apiKey = new ApiKey ( ) ;
108
119 get root ( ) {
1210 return workspace . getConfiguration ( ExtensionID ) ;
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import { TreeViewsManager } from "./treeviews";
1414export class SquareCloudExtension {
1515 private readonly logger = new Logger ( "Square Cloud" ) ;
1616
17- public readonly config = new ConfigManager ( this . context . secrets ) ;
17+ public readonly config = new ConfigManager ( ) ;
1818 public readonly configFile = new ConfigFileManager ( this ) ;
1919 public readonly treeViews = new TreeViewsManager ( this ) ;
2020 public readonly commands = new CommandsManager ( this ) ;
You can’t perform that action at this time.
0 commit comments