committing v1

This commit is contained in:
Vallie Joseph committed 2023-12-22 03:51:47 +00:00
1 parent 9136acffe8
commit 6bef6fbcf9
2 files changed
+73 -15

No files matched your search

@@ -38,6 +38,7 @@ async function exists(path: string): Promise<boolean> {
}
async function streamExtract(url: string, directory: string): Promise<void> {
core.info(`Stream extract started`)
let retryCount = 0
while (retryCount < 5) {
try {
@@ -61,8 +62,11 @@ async function streamExtractInternal(
url: string,
directory: string
): Promise<void> {
core.info(`Stream extract internal started`)
const client = new httpClient.HttpClient(getUserAgentString())
const response = await client.get(url)
core.info(`Stream extract internal get called`)
if (response.message.statusCode !== 200) {
throw new Error(