Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf054acc

Browse files
danny0838dependabot[bot]JoshuaKGoldberg
authored
fix: test link in html reporter (#5224)
* build(deps): bump the github-actions group with 1 updateBumps the github-actions group with 1 update: [joelwmale/webhook-action](https://github.com/joelwmale/webhook-action).Updates `joelwmale/webhook-action` from 2.3.2 to 2.4.1- [Release notes](https://github.com/joelwmale/webhook-action/releases)- [Commits](joelwmale/webhook-action@2.3.2...2.4.1)---updated-dependencies:- dependency-name: joelwmale/webhook-action dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions...Signed-off-by: dependabot[bot] <support@github.com>* fix: remove bad test link params in HTML reporter- `grep` may not work as expected if a previous `fgrep` or `invert` parameter exists.* Update .github/workflows/nightly-site-deploy.yml---------Signed-off-by: dependabot[bot] <support@github.com>Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com>
1 parente536ab2 commitf054acc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎lib/reporters/html.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,9 +285,9 @@ function HTML(runner, options) {
285285
functionmakeUrl(s){
286286
varsearch=window.location.search;
287287

288-
// Remove previous grepqueryparameter if present
288+
// Remove previous{grep, fgrep, invert}queryparameters if present
289289
if(search){
290-
search=search.replace(/[?&]grep=[^&\s]*/g,'').replace(/^&/,'?');
290+
search=search.replace(/[?&](?:f?grep|invert)=[^&\s]*/g,'').replace(/^&/,'?');
291291
}
292292

293293
return(

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp