minor fixes

This commit is contained in:
Rob Herley committed 2023-12-01 09:05:46 -05:00
1 parent fc051fc5d6
commit 1a06ea73d3
2 files changed
+5 -3

No files matched your search

+2 -2
View File
@@ -125,7 +125,7 @@ If the error persists, please check whether Actions is operating normally at [ht
*/
async downloadArtifact(
artifactId: number,
options?: Partial<DownloadArtifactOptions & FindOptions>
options?: DownloadArtifactOptions & FindOptions
): Promise<DownloadArtifactResponse> {
if (isGhes()) {
warning(
@@ -152,7 +152,7 @@ If the error persists, please check whether Actions is operating normally at [ht
)
}
return downloadArtifactInternal(artifactId)
return downloadArtifactInternal(artifactId, options)
} catch (error) {
warning(
`Artifact download failed with error: ${error}.