mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 02:49:04 +08:00
Filter our private repositories from getting licences
This commit is contained in:
parent
d3558ab377
commit
1f7f9b4b53
@ -219,6 +219,9 @@ class CuraConan(ConanFile):
|
||||
|
||||
@staticmethod
|
||||
def _get_license_from_repository(sources_url, version, license_file_name = None):
|
||||
if sources_url.startswith("https://github.com/Ultimaker/") and "private" in sources_url:
|
||||
return None
|
||||
|
||||
git_url = sources_url
|
||||
if git_url.endswith('/'):
|
||||
git_url = git_url[:-1]
|
||||
|
Loading…
x
Reference in New Issue
Block a user