Commit f08cc51a authored by Mark Stenglein's avatar Mark Stenglein

AltRepParam: uri: setter: refactor to use template

This commit refactors the setter in AltRepParam's uri value to use
string templates instead of using string concatenation.
Signed-off-by: Mark Stenglein's avatarMark Stenglein <>
parent 0659dea9
Pipeline #1183 failed with stages
in 20 seconds
......@@ -66,7 +66,7 @@ export default class AltRepParam extends Parameter {
set uri(newUri: string) {
if (Parameter.isQSafeChar(newUri)) {
this._uri = newUri;
this.paramValues = ["\"" + this.uri + "\""];
this.paramValues = [`\""${this.uri}\"`];
else if (Parameter.isQuotedString(newUri)) {
this._uri = newUri;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment