aboutsummaryrefslogtreecommitdiffstats
path: root/src/helpers/update-helpers.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/helpers/update-helpers.ts')
-rw-r--r--src/helpers/update-helpers.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helpers/update-helpers.ts b/src/helpers/update-helpers.ts
index 9a36850fc..ca541c4b0 100644
--- a/src/helpers/update-helpers.ts
+++ b/src/helpers/update-helpers.ts
@@ -5,7 +5,7 @@ export function getFerdiumVersion(
5 currentLocation: string, 5 currentLocation: string,
6 ferdiumVersion: string, 6 ferdiumVersion: string,
7): string { 7): string {
8 const matches = currentLocation?.match(/version=([^&]*)/); 8 const matches = currentLocation.match(/version=([^&]*)/);
9 if (matches !== null) { 9 if (matches !== null) {
10 return `v${matches[1]}`; 10 return `v${matches[1]}`;
11 } 11 }