Skip to content

Commit

Permalink
feat: add some debug logging for comment actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Codex- committed Oct 24, 2023
1 parent ab54a54 commit 7e5ea7b
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 16 deletions.
38 changes: 23 additions & 15 deletions dist/index.mjs

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

4 changes: 3 additions & 1 deletion src/tasks/comment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ import {
import type { Task } from "./task.ts";

function createCommentId(cfgCommentId: string, n: number): string {
return `<!-- ${cfgCommentId}-${n} -->`;
const id = `<!-- ${cfgCommentId.replaceAll(/\s/, "-")}-${n} -->`;
core.debug(`[createCommentId]: Generated '${id}'`);
return id;
}

// Double newlines for markdown
Expand Down

0 comments on commit 7e5ea7b

Please sign in to comment.