From 16f9756f178f0d38566b4096745b3b09c40e9f60 Mon Sep 17 00:00:00 2001 From: bokuweb Date: Sun, 22 Oct 2023 16:47:20 +0900 Subject: [PATCH] fix --- src/comment.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/comment.ts b/src/comment.ts index 597afd97..07789b4f 100644 --- a/src/comment.ts +++ b/src/comment.ts @@ -86,12 +86,8 @@ ${result.newItems .map(item => { const filename = basename(item); console.log(join(baseUrl, 'actual', filename)); - const img = join(baseUrl, 'actual', filename) + '?raw=true'; - + const img = baseUrl + 'actual/' + filename + '?raw=true'; return `| ![NewItem](${img}) |`; - // https://raw.githubusercontent.com/bokuweb/reg-actions/reg/6602221723_reg/actual/sample.png - // https://raw.githubusercontent.com/bokuweb/reg-actions/reg/6602221723_reg/actual/sample.png - // return `| ![NewItem](https://github.com/bokuweb/reg-actions/blob/reg/6602242983_reg/actual/sample.png?raw=true) |`; }) .join('\n')} `;