Skip to content

Commit

Permalink
fix(composer): update ai-commit-no-verify script
Browse files Browse the repository at this point in the history
- Updated the ai-commit-no-verify script in composer.json
- Replaced --commit-options with --no-verify flag
  • Loading branch information
guanguans committed Jul 24, 2023
1 parent 9093cb8 commit 20da6e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
4 changes: 2 additions & 2 deletions ai-commit.tape
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ Set PlaybackSpeed 0.1

Type "git status" Sleep 1s
Enter 1 Sleep 100ms
Type "./ai-commit commit --no-edit" Sleep 1s
Type "./ai-commit commit --no-edit --no-verify" Sleep 1s
Enter 1 Sleep 20s
Down@1s 3 Sleep 1s
Enter 1 Sleep 100ms
Type "git status" Sleep 1s
Enter 1 Sleep 100ms
Type "git log -1" Sleep 1s
Enter 1 Sleep 5s
Enter 1 Sleep 5s
8 changes: 2 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
],
"post-autoload-dump": [],
"ai-commit": "@php ./ai-commit commit --generator=bito_cli --ansi",
"ai-commit-no-verify": "@ai-commit --commit-options=--no-verify",
"ai-commit-no-verify": "@ai-commit --no-verify",
"cghooks": "@php ./vendor/bin/cghooks --ansi -v",
"cghooks-install": [
"@cghooks add --ignore-lock",
Expand Down Expand Up @@ -197,11 +197,7 @@
"test-migrate-configuration": "@pest-migrate-configuration",
"trufflehog": "trufflehog git https://github.com/guanguans/ai-commit --only-verified",
"var-dump-server": "@php ./vendor/bin/var-dump-server --ansi -v",
"vhs": [
"@cghooks-uninstall",
"vhs < ai-commit.tape",
"@cghooks-install"
]
"vhs": "vhs < ai-commit.tape"
},
"scripts-descriptions": {}
}

0 comments on commit 20da6e6

Please sign in to comment.