main
pengjunwu 2024-01-24 15:20:37 +08:00
parent 1dcfa3829b
commit 3084e1337f
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ if [[ $text =~ (Assets\/[^:\(]+)\/([^:\(]+\.cs)[:\(]([0-9]+) ]]; then
echo "blame line_num: $line_number"
cd ../../ProjectNLD/"$path" || exit
last_commit_author=$(git blame -L "$line_number" "$fileName" | awk '{print $2; exit}')
message="author:${last_commit_author:1}"
message="fileName:$fileName \r\n line_num:$line_number \r\n author:${last_commit_author:1}"
echo "message:$message"
cd "$script_directory" || exit
sh to_inner_wechat_robot.sh "$message"