From b2da9aa12c1cea5fccc411c1bc0723a3cbd43957 Mon Sep 17 00:00:00 2001 From: Bethany Date: Wed, 23 Aug 2023 07:35:23 -0700 Subject: [PATCH] use string interpolation --- packages/artifact/src/internal/find/get-artifact.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/artifact/src/internal/find/get-artifact.ts b/packages/artifact/src/internal/find/get-artifact.ts index 16cd163b..87f65773 100644 --- a/packages/artifact/src/internal/find/get-artifact.ts +++ b/packages/artifact/src/internal/find/get-artifact.ts @@ -53,7 +53,7 @@ export async function getArtifact( ) 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 { success: false } @@ -67,7 +67,9 @@ export async function getArtifact( } 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 {