Fix artifact downloader constants and improve error message for hosted package-bin

This commit is contained in:
crazywhalecc
2025-12-05 14:44:27 +08:00
committed by Jerry Ma
parent 7fa6fd08d4
commit 93a697ebbf
2 changed files with 4 additions and 2 deletions

View File

@@ -58,6 +58,6 @@ class HostedPackageBin implements DownloadTypeInterface
return DownloadResult::archive($filename, $config, extract: $config['extract'] ?? null, version: $version);
}
}
throw new DownloaderException("No matching asset found for hosted package-bin {$name} with criteria: {$find_str}");
throw new DownloaderException("No matching asset found for hosted package-bin {$name}: {$find_str}");
}
}