mirror of
https://gitea.com/Lydanne/issues-helper.git
synced 2025-10-14 15:53:55 +08:00
fix: console
This commit is contained in:
5
dist/index.js
vendored
5
dist/index.js
vendored
@@ -14609,7 +14609,6 @@ const util_1 = __nccwpck_require__(9604);
|
|||||||
const base_1 = __nccwpck_require__(8824);
|
const base_1 = __nccwpck_require__(8824);
|
||||||
let ICE;
|
let ICE;
|
||||||
function initAdvancedICE(_ICE) {
|
function initAdvancedICE(_ICE) {
|
||||||
console.log(_ICE);
|
|
||||||
ICE = _ICE;
|
ICE = _ICE;
|
||||||
}
|
}
|
||||||
exports.initAdvancedICE = initAdvancedICE;
|
exports.initAdvancedICE = initAdvancedICE;
|
||||||
@@ -15536,7 +15535,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|||||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||||
exports.IssueCoreEngine = void 0;
|
exports.IssueCoreEngine = void 0;
|
||||||
const rest_1 = __nccwpck_require__(5375);
|
const rest_1 = __nccwpck_require__(5375);
|
||||||
const core = __importStar(__nccwpck_require__(2186));
|
const core = __importStar(__nccwpck_require__(9875));
|
||||||
const shared_1 = __nccwpck_require__(3826);
|
const shared_1 = __nccwpck_require__(3826);
|
||||||
class IssueCoreEngine {
|
class IssueCoreEngine {
|
||||||
constructor(_info) {
|
constructor(_info) {
|
||||||
@@ -15893,10 +15892,8 @@ function main() {
|
|||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
try {
|
try {
|
||||||
const actions = core.getInput('actions', { required: true });
|
const actions = core.getInput('actions', { required: true });
|
||||||
console.log(actions);
|
|
||||||
const IHE = new helper_1.IssueHelperEngine(github.context);
|
const IHE = new helper_1.IssueHelperEngine(github.context);
|
||||||
for (const action of (0, actions_util_1.dealStringToArr)(actions)) {
|
for (const action of (0, actions_util_1.dealStringToArr)(actions)) {
|
||||||
console.log(action);
|
|
||||||
yield IHE.doExeAction(action);
|
yield IHE.doExeAction(action);
|
||||||
}
|
}
|
||||||
core.baseInfo(`\n${actions_util_1.THANKS}`);
|
core.baseInfo(`\n${actions_util_1.THANKS}`);
|
||||||
|
@@ -19,7 +19,6 @@ import {
|
|||||||
|
|
||||||
let ICE: IIssueCoreEngine;
|
let ICE: IIssueCoreEngine;
|
||||||
export function initAdvancedICE(_ICE: IIssueCoreEngine) {
|
export function initAdvancedICE(_ICE: IIssueCoreEngine) {
|
||||||
console.log(_ICE)
|
|
||||||
ICE = _ICE;
|
ICE = _ICE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { Octokit } from '@octokit/rest';
|
import { Octokit } from '@octokit/rest';
|
||||||
import * as core from '@actions/core';
|
import * as core from '../core';
|
||||||
import { EEmoji } from '../shared';
|
import { EEmoji } from '../shared';
|
||||||
import { TEmoji, TLockReasons, TUpdateMode, TIssueState, TUserPermission } from '../types';
|
import { TEmoji, TLockReasons, TUpdateMode, TIssueState, TUserPermission } from '../types';
|
||||||
import { IIssueBaseInfo, IIssueCoreEngine, IListIssuesParams, TIssueList, TIssueInfo, TCommentList } from './types';
|
import { IIssueBaseInfo, IIssueCoreEngine, IListIssuesParams, TIssueList, TIssueInfo, TCommentList } from './types';
|
||||||
|
@@ -9,10 +9,8 @@ import type { TAction } from './types';
|
|||||||
async function main() {
|
async function main() {
|
||||||
try {
|
try {
|
||||||
const actions = core.getInput('actions', { required: true });
|
const actions = core.getInput('actions', { required: true });
|
||||||
console.log(actions)
|
|
||||||
const IHE = new IssueHelperEngine(github.context);
|
const IHE = new IssueHelperEngine(github.context);
|
||||||
for (const action of dealStringToArr(actions)) {
|
for (const action of dealStringToArr(actions)) {
|
||||||
console.log(action)
|
|
||||||
await IHE.doExeAction(action as TAction);
|
await IHE.doExeAction(action as TAction);
|
||||||
}
|
}
|
||||||
core.baseInfo(`\n${THANKS}`);
|
core.baseInfo(`\n${THANKS}`);
|
||||||
|
Reference in New Issue
Block a user