Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tranhl committed Nov 27, 2024
1 parent 15d5339 commit 5166f3a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42837,7 +42837,6 @@ async function main({
currentPullRequest,
pullRequests,
mainBranch,
remoteBranches,
perennialBranches,
skipSingleStacks
}) {
Expand Down Expand Up @@ -42956,6 +42955,7 @@ async function main({
jobs.push(async () => {
core.info(`Updating stack details for PR #${stackNode.number}`);
const stackGraph2 = getStackGraph(stackNode);
console.log(JSON.stringify(stackGraph2.inspect(), null, 2));
const output = getOutput(stackGraph2);
let description = stackNode.body ?? "";
description = updateDescription({
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ export async function main({
currentPullRequest,
pullRequests,
mainBranch,
remoteBranches,
perennialBranches,
skipSingleStacks,
}: Context) {
Expand Down Expand Up @@ -169,6 +168,7 @@ export async function main({
core.info(`Updating stack details for PR #${stackNode.number}`)

const stackGraph = getStackGraph(stackNode)
console.log(JSON.stringify(stackGraph.inspect(), null, 2))

Check failure on line 171 in src/main.ts

View workflow job for this annotation

GitHub Actions / Lint - ESLint

Unexpected console statement
const output = getOutput(stackGraph)

let description = stackNode.body ?? ''
Expand Down
1 change: 0 additions & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ export type Context = {
mainBranch: string
currentPullRequest: PullRequest
pullRequests: PullRequest[]
remoteBranches: string[]
perennialBranches: string[]
skipSingleStacks: boolean
}
Expand Down

0 comments on commit 5166f3a

Please sign in to comment.