diff --git a/README.md b/README.md index f993bb3..035c50a 100644 --- a/README.md +++ b/README.md @@ -2,12 +2,12 @@
OpenCommit logo

OpenCommit

-

Follow the bird +

Follow the bird

Auto-generate meaningful commits in 1 second

Killing lame commits with AI 🤯🔫

Current version -

🪩 Winner of GitHub 2023 HACKATHON +

🪩 Winner of GitHub 2023 HACKATHON

diff --git a/src/commands/config.ts b/src/commands/config.ts index f59c29c..106940f 100644 --- a/src/commands/config.ts +++ b/src/commands/config.ts @@ -198,9 +198,7 @@ export const getConfig = (): ConfigType | null => { config[configKey] = validValue; } catch (error) { - outro( - `'${configKey}' name is invalid, it should be either 'OCO_${configKey.toUpperCase()}' or it doesn't exist.` - ); + outro(`Unknown '${configKey}' config option.`); outro( `Manually fix the '.env' file or global '~/.opencommit' config file.` );