add get-artifact logic

This commit is contained in:
Bethany committed 2023-08-22 09:17:43 -07:00
1 parent d27eb4002d
commit 1fb743dadf
4 files changed
+75 -3

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ async function exists(path: string): Promise<boolean> {
}
}
async function streamExtract(url: string, directory: PathLike): Promise<void> {
async function streamExtract(url: string, directory: string): Promise<void> {
const client = new httpClient.HttpClient(getUserAgentString())
const response = await client.get(url)