Skip to content

Commit

Permalink
CI: Update check_description_files to expect secure screenshot URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
jcfr committed Apr 4, 2024
1 parent 873fadd commit de2c2aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/check_description_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ def check_screenshoturls(extension_name, metadata):
if metadata["screenshoturls"] is None:
return
for screenshoturl in metadata["screenshoturls"].split(" "):
if not screenshoturl.startswith("http"):
msg = f"screenshoturl is `{screenshoturl}` but it does not start with http"
if not screenshoturl.startswith("https://"):
msg = f"screenshoturl is `{screenshoturl}` but it does not start with https"
raise ExtensionCheckError(extension_name, check_name, msg)


Expand Down

0 comments on commit de2c2aa

Please sign in to comment.