From 013b725db3baefffde7db41e9b6f870f72a4652d Mon Sep 17 00:00:00 2001 From: "James M. Greene" Date: Fri, 22 Dec 2023 12:52:56 -0600 Subject: [PATCH] Oxford commas --- src/__tests__/internal/deployment.test.js | 4 ++-- src/internal/api-client.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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