Skip to content

Commit a2b90eb

Browse files
authored
fixed file for comment-no-changes.md (#1148)
1 parent f2fa9ef commit a2b90eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/action.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ const runAction = async (octokit, context, parameters) => {
280280
const assets_path = path.resolve(__dirname + '/../assets')
281281

282282
if (context.payload.pull_request != null) {
283-
const fileName = operations.length > 0 ? `${assets_path}/comment.md` : `${assets_path}/comments-no-changes.md`
283+
const fileName = operations.length > 0 ? `${assets_path}/comment.md` : `${assets_path}/comment-no-changes.md`
284284
const title = [readFileSync(fileName, 'utf-8')]
285285
await postComment(octokit, context, title)
286286
}

0 commit comments

Comments
 (0)