Commit 0b29761a authored by Mark Stenglein's avatar Mark Stenglein
Browse files

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.

Take two.
Signed-off-by: Mark Stenglein's avatarMark Stenglein <>
parent c9e128bf
Pipeline #1196 passed with stage
in 44 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