Skip to content

Commit

Permalink
Add default value to substitute_single function
Browse files Browse the repository at this point in the history
  • Loading branch information
asamuzaK committed Jun 30, 2024
1 parent abbe205 commit a435624
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit a435624

Please sign in to comment.