mirror of
https://github.com/mshick/add-pr-comment.git
synced 2025-12-31 14:20:32 +11:00
fix: strip newlines windows also
This commit is contained in:
parent
4d887b477c
commit
026d9b8889
2 changed files with 2 additions and 2 deletions
2
dist/index.js
vendored
2
dist/index.js
vendored
|
|
@ -2054,7 +2054,7 @@ async function run() {
|
|||
issue_number: issueNumber,
|
||||
});
|
||||
|
||||
const spacesRe = new RegExp("\\s", "g");
|
||||
const spacesRe = new RegExp("\\R|\\s", "g");
|
||||
const messageClean = message.replace(spacesRe, "");
|
||||
|
||||
const commentExists = comments.some(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue