Skip to content

Commit

Permalink
Merge pull request #295 from lmammino/patch-1
Browse files Browse the repository at this point in the history
Update api-client.js
  • Loading branch information
JamesMGreene committed Feb 6, 2024
2 parents 2a4b535 + 0b3be6b commit decdde0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/__tests__/internal/deployment.test.js
Expand Up @@ -403,7 +403,7 @@ describe('Deployment', () => {

const deployment = new Deployment()
await expect(deployment.create(fakeJwt)).rejects.toThrow(
`No artifacts named "github-pages" were found for this workflow run. Ensure artifacts are uploaded with actions/artifact@v4 or later.`
`No artifacts named "github-pages" were found for this workflow run. Ensure artifacts are uploaded with actions/upload-artifact@v4 or later.`
)
twirpScope.done()
})
Expand Down
2 changes: 1 addition & 1 deletion src/internal/api-client.js
Expand Up @@ -83,7 +83,7 @@ async function getArtifactMetadata({ artifactName }) {

if (artifactCount === 0) {
throw new Error(
`No artifacts named "${artifactName}" were found for this workflow run. Ensure artifacts are uploaded with actions/artifact@v4 or later.`
`No artifacts named "${artifactName}" were found for this workflow run. Ensure artifacts are uploaded with actions/upload-artifact@v4 or later.`
)
} else if (artifactCount > 1) {
throw new Error(
Expand Down

0 comments on commit decdde0

Please sign in to comment.