This commit is contained in:
元凛
2022-02-10 10:33:03 +08:00
parent 733de0e514
commit cca9ff3da4
3 changed files with 6 additions and 0 deletions

View File

@@ -77,6 +77,7 @@ export class IssueHelperEngine implements IIssueHelperEngine {
this.owner = ctx.repo.owner;
this.repo = ctx.repo.repo;
}
console.log('1', this.owner, this.repo)
let defaultCtxNumber: number | undefined;
if (ctx.eventName === 'issues' || ctx.eventName === 'issue_comment') {
@@ -106,6 +107,7 @@ export class IssueHelperEngine implements IIssueHelperEngine {
private initIssueCore() {
const { owner, repo, issueNumber, token } = this;
console.log('2', owner, repo)
this.ICE = new IssueCoreEngine({
owner,
repo,

View File

@@ -10,6 +10,7 @@ export class IssueCoreEngine implements IIssueCoreEngine {
private octokit!: Octokit;
public constructor(_info: IIssueBaseInfo) {
console.log(_info)
if (_info.owner && _info.repo) {
this.owner = _info.owner;
this.repo = _info.repo;