1
0
Fork 0
mirror of https://github.com/actions/toolkit synced 2025-05-09 08:33:00 +00:00

Update to latest typescript version (#274)

This commit is contained in:
Josh Gross 2019-12-27 19:42:30 -05:00 committed by eric sciple
parent 60d3096c71
commit 8a4134761f
6 changed files with 21 additions and 37 deletions

View file

@ -76,9 +76,7 @@ export async function downloadTool(
if (response.message.statusCode !== 200) {
const err = new HTTPError(response.message.statusCode)
core.debug(
`Failed to download from "${url}". Code(${
response.message.statusCode
}) Message(${response.message.statusMessage})`
`Failed to download from "${url}". Code(${response.message.statusCode}) Message(${response.message.statusMessage})`
)
throw err
}
@ -93,9 +91,7 @@ export async function downloadTool(
})
} catch (err) {
core.debug(
`Failed to download from "${url}". Code(${
response.message.statusCode
}) Message(${response.message.statusMessage})`
`Failed to download from "${url}". Code(${response.message.statusCode}) Message(${response.message.statusMessage})`
)
reject(err)
}