chore(commit.ts, es_ES.json, id_ID.json, index.ts): remove unnecessary comments and fix typos in commit messages and translations

This commit is contained in:
di-sukharev
2023-03-30 14:52:01 +08:00
parent 2c79bf22df
commit 95d3d8b6c9
4 changed files with 15 additions and 17 deletions
+1 -1
View File
@@ -22,7 +22,6 @@ import {
import chalk from 'chalk';
import { trytm } from '../utils/trytm';
// Adding a function to get the list of remotes
const getGitRemotes = async () => {
const { stdout } = await execa('git', ['remote']);
return stdout.split('\n').filter((remote) => remote.trim() !== '');
@@ -77,6 +76,7 @@ ${chalk.grey('——————————————————')}`
outro(`${chalk.green('✔')} successfully committed`);
outro(stdout);
const remotes = await getGitRemotes();
if (remotes.length === 1) {