|
|
@ -108,8 +108,8 @@ def update(package) -> None: |
|
|
|
def save(package, message, paths) -> None: |
|
|
|
def save(package, message, paths) -> None: |
|
|
|
Log.info(f"Saving package {package}") |
|
|
|
Log.info(f"Saving package {package}") |
|
|
|
if not os.path.exists(f"./vendor/{package}"): Log.error("Package not found") |
|
|
|
if not os.path.exists(f"./vendor/{package}"): Log.error("Package not found") |
|
|
|
adds = ""; |
|
|
|
adds = "" |
|
|
|
if len(paths): |
|
|
|
if paths is not None and len(paths): |
|
|
|
for path in paths: |
|
|
|
for path in paths: |
|
|
|
adds += path + " " |
|
|
|
adds += path + " " |
|
|
|
else: adds = "." |
|
|
|
else: adds = "." |
|
|
|