diff options
author | 2023-12-07 22:37:37 -0700 | |
---|---|---|
committer | 2023-12-07 22:37:37 -0700 | |
commit | a774c879d4cf08a76fc404771883807d27465265 (patch) | |
tree | 202c9afdeb4830d417e0ec7137a01e7981c8651c /src/helpers/update-helpers.ts | |
parent | 6.6.1-nightly.17 [skip ci] (diff) | |
download | ferdium-app-a774c879d4cf08a76fc404771883807d27465265.tar.gz ferdium-app-a774c879d4cf08a76fc404771883807d27465265.tar.zst ferdium-app-a774c879d4cf08a76fc404771883807d27465265.zip |
refactor: code cleanup (#1476)
- auto update `settings.json` due to new vscode version
- replace deprecated `e.keyCode` with `e.key`
- fix various code snippets with sonarlint and other lint plugins
Diffstat (limited to 'src/helpers/update-helpers.ts')
-rw-r--r-- | src/helpers/update-helpers.ts | 2 |
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 | } |