Skip to content

Commit 9215996

Browse files
committed
downloader: also report back the full artifact name
This will come in handy e.g. to report what we're doing, and to define a fall-back location when no output directory was specified. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent f53033a commit 9215996

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/downloader.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ export async function get(
182182
flavor: string,
183183
architecture: string
184184
): Promise<{
185+
artifactName: string
185186
id: string
186187
download: (
187188
outputDirectory: string,
@@ -254,5 +255,5 @@ export async function get(
254255
flavor === 'full' ? unpackTarXZInZipFromURL : undefined
255256
)
256257
}
257-
return {download, id}
258+
return {artifactName, download, id}
258259
}

0 commit comments

Comments
 (0)