Skip to content

Commit

Permalink
rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
liweijie0812 committed Jan 18, 2025
1 parent ac2196f commit a93c54e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30169,7 +30169,8 @@ function run(context) {
(0, core_1.error)(`${context.repo} 不支持 ${context.trigger} `);
}
const { getPrData } = (0, github_1.default)({ repo: context.repo, owner: context.owner, token: context.token });
(0, core_1.info)(`getPrData:${JSON.stringify(getPrData(context.pr_number), null, 2)}`);
const prData = yield getPrData(context.pr_number);
(0, core_1.info)(`getPrData:${JSON.stringify(prData, null, 2)}`);
});
}

Expand Down
3 changes: 2 additions & 1 deletion src/tdesign/vue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ export default async function run(context: TriggerContext) {
error(`${context.repo} 不支持 ${context.trigger} `)
}
const { getPrData } = useGithub({ repo: context.repo, owner: context.owner, token: context.token })
info(`getPrData:${JSON.stringify(getPrData(context.pr_number), null, 2)}`)
const prData = await getPrData(context.pr_number)
info(`getPrData:${JSON.stringify(prData, null, 2)}`)
}

0 comments on commit a93c54e

Please sign in to comment.