1
0

[TLC-380] Lint fixes

This commit is contained in:
Kim Shepherd
2022-11-23 13:36:55 +13:00
parent 928157f994
commit 3c48df6fe5
6 changed files with 34 additions and 35 deletions

View File

@@ -71,7 +71,7 @@ export class MetadataValuesComponent implements OnChanges {
*/
hasLink(value): boolean {
if (hasValue(this.urlRegex)) {
const pattern: RegExp = new RegExp(this.urlRegex);
const pattern = new RegExp(this.urlRegex);
return pattern.test(value.value);
}
return false;