提交 3e79a4eb 编写于 作者: M Mislav Marohnić

Fix `am/apply` cukes for scenarios with Gist via curl

上级 2da1ed5f
......@@ -4,7 +4,7 @@ set -e
url="$3"
file="$5"
if [ "${url%.patch}" = "$url" ]; then
if [ "${url%.patch}" = "$url" ] && [ "${url%.txt}" = "$url" ]; then
echo "invalid pull request URL: $url" >&2
exit 1
fi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册