Oxford commas

This commit is contained in:
James M. Greene
2023-12-22 12:52:56 -06:00
parent ed0e794532
commit 013b725db3
2 changed files with 3 additions and 3 deletions

View File

@@ -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)
)

View File

@@ -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