Skip to content

Commit 710d68b

Browse files
committed
proper newline
1 parent 2a332df commit 710d68b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/notifications.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ export const createRun = async (
3636
};
3737

3838
const commentLocator = (label?: string): string => {
39-
return `<!-- Diff Action / Pull Request Comment / ${label ?? ''} -->\n`;
39+
return `<!-- Diff Action / Pull Request Comment / ${label ?? ''} -->
40+
`;
4041
};
4142

4243
const commentBody = (label: string | undefined, result: Result): string => {
@@ -91,7 +92,6 @@ const findComment = async (
9192
issue_number: context.issue.number,
9293
})) {
9394
for (const comment of entry.data) {
94-
console.log('USER', comment.user, viewer.login);
9595
if (comment.body?.startsWith(locator) && comment.user?.login === viewer.login) {
9696
return comment.id;
9797
}

0 commit comments

Comments
 (0)