gif
This commit is contained in:
@@ -109,6 +109,14 @@ class Download_File(Cmdlet):
|
||||
debug(f"[download-file] run invoked with args: {list(args)}")
|
||||
return self._run_impl(result, args, config)
|
||||
|
||||
@staticmethod
|
||||
def _path_from_download_result(result_obj: Any) -> Path:
|
||||
"""Normalize downloader return values to a concrete filesystem path."""
|
||||
resolved = coerce_to_path(result_obj)
|
||||
if resolved is None:
|
||||
raise DownloadError("Could not determine downloaded file path")
|
||||
return resolved
|
||||
|
||||
def _process_explicit_urls(
|
||||
self,
|
||||
*,
|
||||
|
||||
Reference in New Issue
Block a user