We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ebe1f1 commit 338c35dCopy full SHA for 338c35d
components/scmprovider.py
@@ -14,7 +14,13 @@
14
15
16
def repo_and_commit_to_url(repo, commit):
17
- if "https://chromium.googlesource.com" or 'https://https://aomedia.googlesource.com' in repo:
+ if any(
18
+ hostname in repo
19
+ for hostname in [
20
+ "https://chromium.googlesource.com",
21
+ "https://https://aomedia.googlesource.com",
22
+ ]
23
+ ):
24
return repo + "/+/" + commit
25
26
# gitlab wants https://domain.com/org/project/-/commit/sha
0 commit comments