refactor: change intro and outro messages

This commit is contained in:
2023-08-19 20:46:35 +03:00
parent 2be2887ce5
commit 4e16104d62

View File

@@ -30,7 +30,7 @@ const GetConfig = async () => {
(async () => { (async () => {
const config = await GetConfig(); const config = await GetConfig();
intro("Creating a conventional commit message"); intro("Creating a conventional commit");
if (!fs.existsSync(path.join(process.cwd(), ".git"))) { if (!fs.existsSync(path.join(process.cwd(), ".git"))) {
cancel("Git repository has not been initialized"); cancel("Git repository has not been initialized");
@@ -174,5 +174,5 @@ const GetConfig = async () => {
note(commitMessage); note(commitMessage);
outro("Finished creating a conventional commit message"); outro("Finished creating a conventional commit, feel free to push");
})(); })();