Skip to content

Commit faacb9b

Browse files
authored
don't explicitly write "no detail" when there is no instructions.detail; one of the files might have enough details already. (#1294)
1 parent 2d33349 commit faacb9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/deploy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ export async function deploy(
391391
);
392392
}
393393
if (instructions.status === "error" || fileErrors.length) {
394-
throw new CliError(`Server rejected deploy manifest: ${instructions.detail ?? "no details"}`);
394+
throw new CliError(`Server rejected deploy manifest${instructions.detail ? `: ${instructions.detail}` : ""}`);
395395
}
396396
const filesToUpload: string[] = instructions.files
397397
.filter((instruction) => instruction.status === "upload")

0 commit comments

Comments
 (0)