aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/app/utils/isValidUri.ts
diff options
context:
space:
mode:
authorPhilippe Perrin <philippe.perrin@sonarsource.com>2022-11-02 11:08:39 +0100
committersonartech <sonartech@sonarsource.com>2022-11-02 20:03:01 +0000
commit2ab6fc273ecbf405f7c126fab11ddc0b9bf516da (patch)
treea6e005b4f57fb488d3e551b7df52399e69b0674c /server/sonar-web/src/main/js/app/utils/isValidUri.ts
parent60e4b88e4567c1af3051b6cdc4c8858f8b0fca21 (diff)
downloadsonarqube-2ab6fc273ecbf405f7c126fab11ddc0b9bf516da.tar.gz
sonarqube-2ab6fc273ecbf405f7c126fab11ddc0b9bf516da.zip
SONAR-13368 Bump to prettier@2.7.1
Diffstat (limited to 'server/sonar-web/src/main/js/app/utils/isValidUri.ts')
-rw-r--r--server/sonar-web/src/main/js/app/utils/isValidUri.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/app/utils/isValidUri.ts b/server/sonar-web/src/main/js/app/utils/isValidUri.ts
index 1880ebd45e2..0c2d35d39b6 100644
--- a/server/sonar-web/src/main/js/app/utils/isValidUri.ts
+++ b/server/sonar-web/src/main/js/app/utils/isValidUri.ts
@@ -19,6 +19,6 @@
*/
import { isWebUri } from 'valid-url';
-export default function(url: string): boolean {
+export default function (url: string): boolean {
return /^(\/|scm:)/.test(url) || !!isWebUri(url);
}