fix: git template
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
# 检查是否有 go mod 替换了本地文件
|
||||
res=$(grep '/Users/' ./go.mod)
|
||||
if [ "x$res" != "x" ]; then
|
||||
echo "use local file replace"
|
||||
echo $res
|
||||
exit 1
|
||||
fi
|
||||
exit 0
|
||||
Reference in New Issue
Block a user