We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf6a4e9 commit 8245909Copy full SHA for 8245909
src/connector-config/Config.ts
@@ -25,15 +25,13 @@ export class Config {
25
public constructor(private readonly appDir: string) {}
26
27
public static async load(appDir: string): Promise<Config> {
28
- console.time("Config.load")
29
const config = new Config(appDir)
30
31
if (fs.existsSync(config.configPath)) {
32
const fileContentAsString = await fs.promises.readFile(config.configPath, "utf-8")
33
const fileContentAsJson = JSON.parse(fileContentAsString)
34
await config.fillFromJson(fileContentAsJson)
35
}
36
- console.timeEnd("Config.load")
37
38
return config
39
0 commit comments