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 2b4fc52 commit 1c16f07Copy full SHA for 1c16f07
.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 -q "$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