1
0
Fork 0

use string interpolation

pull/1503/head
Bethany 2023-08-23 07:35:23 -07:00
parent 88f749f686
commit b2da9aa12c
1 changed files with 4 additions and 2 deletions

View File

@ -53,7 +53,7 @@ export async function getArtifact(
) )
if (getArtifactResp.status !== 200) { if (getArtifactResp.status !== 200) {
core.warning('non-200 response from GitHub API: ${getArtifactResp.status}') core.warning(`non-200 response from GitHub API: ${getArtifactResp.status}`)
return { return {
success: false success: false
} }
@ -67,7 +67,9 @@ export async function getArtifact(
} }
if (getArtifactResp.data.artifacts.length > 1) { if (getArtifactResp.data.artifacts.length > 1) {
core.warning('more than one artifact found, returning first') core.warning(
'more than one artifact found for a single name, returning first'
)
} }
return { return {