diff --git a/src/__tests__/internal/deployment.test.js b/src/__tests__/internal/deployment.test.js index 0a79ca0..7463283 100644 --- a/src/__tests__/internal/deployment.test.js +++ b/src/__tests__/internal/deployment.test.js @@ -194,7 +194,7 @@ describe('Deployment', () => { ) expect(core.error).toHaveBeenNthCalledWith( 1, - 'Fetching artifact metadata failed. Is githubstatus.com reporting issues with API requests, Pages or Actions? Please re-run the deployment at a later time.', + 'Fetching artifact metadata failed. Is githubstatus.com reporting issues with API requests, Pages, or Actions? Please re-run the deployment at a later time.', expect.any(Error) ) twirpScope.done() @@ -416,7 +416,7 @@ describe('Deployment', () => { ) expect(core.error).toHaveBeenNthCalledWith( 1, - 'Fetching artifact metadata failed. Is githubstatus.com reporting issues with API requests, Pages or Actions? Please re-run the deployment at a later time.', + 'Fetching artifact metadata failed. Is githubstatus.com reporting issues with API requests, Pages, or Actions? Please re-run the deployment at a later time.', expect.any(Error) ) diff --git a/src/internal/api-client.js b/src/internal/api-client.js index b60fe18..caec312 100644 --- a/src/internal/api-client.js +++ b/src/internal/api-client.js @@ -99,7 +99,7 @@ async function getArtifactMetadata({ artifactName }) { return artifact } catch (error) { core.error( - 'Fetching artifact metadata failed. Is githubstatus.com reporting issues with API requests, Pages or Actions? Please re-run the deployment at a later time.', + 'Fetching artifact metadata failed. Is githubstatus.com reporting issues with API requests, Pages, or Actions? Please re-run the deployment at a later time.', error ) throw error