Skip to content

Commit

Permalink
small syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
klingbolt committed Feb 5, 2025
1 parent 82e8487 commit 8916d82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/diff_protobin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
const timestamp_regex = /\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}\.\d+ \+\d{4}/g;
// Check if a similar comment already exists
if (most_recent_comment && most_recent_comment.replace(timestamp_regex, '') === comment_body.replace(timestamp_regex, '')) {
if (most_recent_comment && most_recent_comment.body.replace(timestamp_regex, '') === comment_body.replace(timestamp_regex, '')) {
console.log(`Skipping file ${file}, identical comment already exists.`);
continue;
}
Expand Down

0 comments on commit 8916d82

Please sign in to comment.