We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e4ba05 commit 57a47f6Copy full SHA for 57a47f6
.github/workflows/add-redirects.yml
@@ -85,7 +85,7 @@ jobs:
85
redirect='${prefix}/${version}'"$old"'/ -> ${base}/${version}/'
86
87
# if redirect not already in file, add to string to add to PR description
88
- if ! grep -qx "$redirect" $REDIRECTS_FILE; then
+ if ! grep -qE "${redirect//\//\\/}$" "$REDIRECTS_FILE"; then
89
deleted_redirects+="<li>[<v>-*]: $redirect</li>"
90
fi
91
done
0 commit comments