Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a check if substitutions exists #46945

Merged
merged 12 commits into from
Aug 19, 2024
Prev Previous commit
Next Next commit
Update testharness.js
  • Loading branch information
asamuzaK committed Jul 3, 2024
commit 12317a8420a8cbf0858c8f5e81f17c99841fb251
2 changes: 1 addition & 1 deletion resources/testharness.js
Original file line number Diff line number Diff line change
Expand Up @@ -4404,7 +4404,7 @@
}), function(x) {return x !== null;});
}

function substitute_single(template, substitutions = {})
function substitute_single(template, substitutions)
{
var substitution_re = /\$\{([^ }]*)\}/g;

Expand Down
Loading