mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-11-26 16:36:25 +00:00
Add logger to avoid crash
This commit is contained in:
@@ -14,7 +14,7 @@ export const DEFAULT_PROJECT_ENVS = [
|
|||||||
];
|
];
|
||||||
|
|
||||||
export async function seed(knex: Knex): Promise<void> {
|
export async function seed(knex: Knex): Promise<void> {
|
||||||
initEnvConfig();
|
initEnvConfig(await initLogger());
|
||||||
const appCfg = getConfig();
|
const appCfg = getConfig();
|
||||||
// Deletes ALL existing entries
|
// Deletes ALL existing entries
|
||||||
await knex(TableName.Project).del();
|
await knex(TableName.Project).del();
|
||||||
|
|||||||
Reference in New Issue
Block a user