From e703bbbb73aa95d24cce19ae36a4ce140cc99c97 Mon Sep 17 00:00:00 2001 From: Charlotte Vermandel Date: Wed, 6 Sep 2023 13:19:03 +0200 Subject: [PATCH] remove useless logs --- src/bin/index.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/bin/index.ts b/src/bin/index.ts index e01175f..2c94e44 100644 --- a/src/bin/index.ts +++ b/src/bin/index.ts @@ -15,13 +15,11 @@ function getConfig({ configPath?: string config?: string }): Config { - console.log({ configPath, config }) if (configPath) { return JSON.parse( fs.readFileSync(configPath, { encoding: 'utf-8' }) ) as Config } else if (config) { - console.log('bkwejqwjkqeh') return JSON.parse(config) as Config } @@ -48,9 +46,6 @@ function getConfig({ type: 'string', }) .check((argv) => { - console.log(argv) - console.log(argv.config) - console.log(!!argv.config) if (argv.config && argv.configPath) { throw new Error( 'You can only use either --config or --configPath, not both.'