mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Check if url starts with https://github.com
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
This commit is contained in:
parent
66d8e698fd
commit
2bc7757907
@ -33,7 +33,7 @@ export class GitHubVersionChecker implements LensExtensionLatestVersionChecker {
|
||||
}
|
||||
|
||||
public async getLatestVersion(manifest: LensExtensionManifest) {
|
||||
if (!manifest.homepage?.includes("https://github.com")) {
|
||||
if (!manifest.homepage?.startsWith("https://github.com")) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user