Skip to content

Commit

Permalink
chore: remove other config.time
Browse files Browse the repository at this point in the history
  • Loading branch information
jkoenig134 committed Feb 13, 2025
1 parent bf6a4e9 commit 8245909
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/connector-config/Config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,13 @@ export class Config {
public constructor(private readonly appDir: string) {}

public static async load(appDir: string): Promise<Config> {
console.time("Config.load")
const config = new Config(appDir)

if (fs.existsSync(config.configPath)) {
const fileContentAsString = await fs.promises.readFile(config.configPath, "utf-8")
const fileContentAsJson = JSON.parse(fileContentAsString)
await config.fillFromJson(fileContentAsJson)
}
console.timeEnd("Config.load")

return config
}
Expand Down

0 comments on commit 8245909

Please sign in to comment.