refactor(cli.ts): comment out checkIsLatestVersion function call

chore(checkIsLatestVersion.ts): add import for chalk library
This commit is contained in:
di-sukharev
2023-03-21 15:52:32 +08:00
parent 677b7ecad9
commit b8e05a5852
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ import { configCommand } from './commands/config';
import { hookCommand, isHookCalled } from './commands/githook.js';
import { prepareCommitMessageHook } from './commands/prepare-commit-msg-hook';
import { commit } from './commands/commit';
import { checkIsLatestVersion } from './utils/checkIsLatestVersion';
// import { checkIsLatestVersion } from './utils/checkIsLatestVersion';
const extraArgs = process.argv.slice(2);
@@ -21,7 +21,7 @@ cli(
help: { description: packageJSON.description }
},
async () => {
await checkIsLatestVersion();
// await checkIsLatestVersion();
if (isHookCalled) {
prepareCommitMessageHook();
} else {