linting update

This commit is contained in:
km-anthropic
2025-07-29 11:16:51 -07:00
parent 5da8dc78e6
commit 5146c656e8
3 changed files with 4 additions and 4 deletions

View File

@@ -24,13 +24,13 @@ async function run() {
const context = parseGitHubContext();
const { owner, repo } = context.repository;
// This script is only called for entity-based events
if (!context.entityNumber) {
throw new Error("update-comment-link requires an entity number");
}
const entityNumber = context.entityNumber;
const octokit = createOctokit(githubToken);
const serverUrl = GITHUB_SERVER_URL;

View File

@@ -21,7 +21,7 @@ export async function createInitialComment(
context: ParsedGitHubContext,
) {
const { owner, repo } = context.repository;
// This function is only called for entity-based events
if (!context.entityNumber) {
throw new Error("createInitialComment requires an entity number");

View File

@@ -56,7 +56,7 @@ export const tagMode: Mode = {
// Check if actor is human
await checkHumanActor(octokit.rest, context);
// Create initial tracking comment (always created for tag mode)
// Create initial tracking comment
const commentData = await createInitialComment(octokit.rest, context);
const commentId = commentData.id;