Skip to content

Commit

Permalink
VM: Fish: MR/Slack improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
Sukant Hajra committed Jul 16, 2024
1 parent 38194bf commit 43999cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion home/target/shajra/programs/fish/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ in {
set --erase --global SFT_AUTH_SOCK || true
'';
};

groq-mr-slack = {
description = "Notify team of merge request";
body = ''
Expand All @@ -31,7 +32,7 @@ in {
echo " -s, --send: Send message to Slack (otherwise dry run)"
return 0
end
set message (gr mr-get --format=short)
set message (gr mr-get --format=short $argv)
if test -z "$message"
echo "ERROR: No message to send" >&2
return 1
Expand Down

0 comments on commit 43999cc

Please sign in to comment.