Skip to content

Commit dc1d2c3

Browse files
authored
Merge pull request #57 from currents-dev/fix/apiMode-no-fail
fix: Don't fail in apiMode when getting 404 not-founds on the build ID [CSR-3062]
2 parents a6308bc + b075307 commit dc1d2c3

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

dist/index.js

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

src/index.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,11 @@ async function or8n(inputs: ActionInputs): Promise<void> {
126126
`${lastRunFilePath}`
127127
]
128128
const exitCode = await exec.exec(
129-
`npx currents api get-run ${options.join(' ')}`
129+
`npx currents api get-run ${options.join(' ')}`,
130+
[],
131+
{
132+
ignoreReturnCode: true
133+
}
130134
)
131135

132136
if (exitCode === 0) {

0 commit comments

Comments
 (0)