Skip to content

Commit 2046f79

Browse files
committed
add missing .length to prevent stringifying array of objects
1 parent 860394a commit 2046f79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ const responses = await Promise.all(
8686
core.info("Done uploading files.");
8787
const failedUploads = responses.filter(r => !r.res.ok);
8888
if (failedUploads.length > 0) {
89-
core.error(`Failed to upload ${failedUploads} file${failedUploads.length === 1 ? "" : "s"}:`);
89+
core.error(`Failed to upload ${failedUploads.length} file${failedUploads.length === 1 ? "" : "s"}:`);
9090
for (const failed of failedUploads) {
9191
const body = await failed.res.text();
9292
let parsed: string;

0 commit comments

Comments
 (0)