diff --git a/README.md b/README.md index 8923c02a..a73968d4 100644 --- a/README.md +++ b/README.md @@ -44,12 +44,12 @@ oco
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 cdd8712b..ecc6d49d 100644 --- a/src/commands/config.ts +++ b/src/commands/config.ts @@ -269,9 +269,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.` );