Skip to content

Commit

Permalink
Merge pull request #6 from rkhaslarov/upd/add-clean-uo
Browse files Browse the repository at this point in the history
Remove empty lines
  • Loading branch information
rkhaslarov authored Feb 16, 2023
2 parents aa029e9 + e1d1fa9 commit b42f032
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8079,7 +8079,7 @@ async function run() {
core.info(`Processed body text: ${processedBodyText}`);

const updateBody = ({
include: !body.toLowerCase().includes(processedBodyText.toLowerCase()),
include: !body.replace(/\s/g, '').toLowerCase().includes(processedBodyText.replace(/\s/g, '').toLowerCase()),
prefix: !body.toLowerCase().startsWith(processedBodyText.toLowerCase()),
suffix: !body.toLowerCase().endsWith(processedBodyText.toLowerCase()),
replace: body.toLowerCase() !== processedBodyText.toLowerCase(),
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ async function run() {
core.info(`Processed body text: ${processedBodyText}`);

const updateBody = ({
include: !body.toLowerCase().includes(processedBodyText.toLowerCase()),
include: !body.replace(/\s/g, '').toLowerCase().includes(processedBodyText.replace(/\s/g, '').toLowerCase()),
prefix: !body.toLowerCase().startsWith(processedBodyText.toLowerCase()),
suffix: !body.toLowerCase().endsWith(processedBodyText.toLowerCase()),
replace: body.toLowerCase() !== processedBodyText.toLowerCase(),
Expand Down

0 comments on commit b42f032

Please sign in to comment.