Skip to content

Commit 31b5d58

Browse files
authored
fix(cli): fix continueFrom when uploading (#1160)
1 parent c942ffb commit 31b5d58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cli/src/commands/run-upload.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ export async function uploadFile(options: YamlProjectConfig, auth: Auth, continu
242242
if (continueFrom) {
243243
const res = await getProcessorStatus(options.host, auth, options.project)
244244
const data = (await res.json()) as { processors: { version: number }[] }
245-
const found = data?.processors.find((x) => x.version == continueFrom)
245+
const found = data?.processors?.find((x) => x.version == continueFrom)
246246
if (found) {
247247
const confirmed = await confirm(`Continue from version ${continueFrom}`)
248248
if (!confirmed) {

0 commit comments

Comments
 (0)