Skip to content

Commit decdde0

Browse files
authored
Merge pull request #295 from lmammino/patch-1
Update api-client.js
2 parents 2a4b535 + 0b3be6b commit decdde0

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/__tests__/internal/deployment.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ describe('Deployment', () => {
403403

404404
const deployment = new Deployment()
405405
await expect(deployment.create(fakeJwt)).rejects.toThrow(
406-
`No artifacts named "github-pages" were found for this workflow run. Ensure artifacts are uploaded with actions/artifact@v4 or later.`
406+
`No artifacts named "github-pages" were found for this workflow run. Ensure artifacts are uploaded with actions/upload-artifact@v4 or later.`
407407
)
408408
twirpScope.done()
409409
})

src/internal/api-client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ async function getArtifactMetadata({ artifactName }) {
8383

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

0 commit comments

Comments
 (0)