fix(scripts): correct aichat role syntax
Some checks are pending
Flake checker / Build Nix targets (push) Waiting to run
Some checks are pending
Flake checker / Build Nix targets (push) Waiting to run
This commit is contained in:
@@ -7,7 +7,7 @@ SHA1=$3
|
|||||||
if [[ -z "$COMMIT_SOURCE" ]]
|
if [[ -z "$COMMIT_SOURCE" ]]
|
||||||
then
|
then
|
||||||
DIFF_OUTPUT=$(git diff --cached)
|
DIFF_OUTPUT=$(git diff --cached)
|
||||||
AI_CHAT_OUTPUT=$(echo "$DIFF_OUTPUT" | aichat --role %git-commit%)
|
AI_CHAT_OUTPUT=$(echo "$DIFF_OUTPUT" | aichat --role git-commit)
|
||||||
CURRENT_MSG=$(cat "$COMMIT_MSG_FILE")
|
CURRENT_MSG=$(cat "$COMMIT_MSG_FILE")
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user