Skip to content

Commit 50e7cd3

Browse files
committed
chore(package.json): update package version from 2.0.19 to 2.1.0
refactor(cli.ts): uncomment checkIsLatestVersion function call to ensure the latest version of the package is being used
1 parent 4f57201 commit 50e7cd3

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "opencommit",
3-
"version": "2.0.19",
3+
"version": "2.1.0",
44
"description": "Auto-generate impressive commits in 1 second. Killing lame commits with AI 🤯🔫",
55
"keywords": [
66
"git",

src/cli.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { configCommand } from './commands/config';
77
import { hookCommand, isHookCalled } from './commands/githook.js';
88
import { prepareCommitMessageHook } from './commands/prepare-commit-msg-hook';
99
import { commit } from './commands/commit';
10-
// import { checkIsLatestVersion } from './utils/checkIsLatestVersion';
10+
import { checkIsLatestVersion } from './utils/checkIsLatestVersion';
1111

1212
const extraArgs = process.argv.slice(2);
1313

@@ -21,7 +21,7 @@ cli(
2121
help: { description: packageJSON.description }
2222
},
2323
async () => {
24-
// await checkIsLatestVersion();
24+
await checkIsLatestVersion();
2525

2626
if (await isHookCalled()) {
2727
prepareCommitMessageHook();

0 commit comments

Comments
 (0)