Skip to content

Commit

Permalink
refactor: add console log for debugging case-sensitive issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tsinis committed Apr 9, 2024
1 parent bbae519 commit e1bf18e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/validate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export async function validate({
});

console.log(`Regex: ${regex}`);
console.log(`Case Sensitive: ${caseSensitive}`);
const title = pr.title.trim().normalize().replace(/"/g, "");
console.log(`Actual PR Title Before Match: "${title}"`);
const match = title.match(regex);
Expand Down

0 comments on commit e1bf18e

Please sign in to comment.