fix: console

This commit is contained in:
元凛
2022-02-10 11:05:42 +08:00
parent 10d7255209
commit 58c8d40948
4 changed files with 2 additions and 8 deletions

5
dist/index.js vendored
View File

@@ -14609,7 +14609,6 @@ const util_1 = __nccwpck_require__(9604);
const base_1 = __nccwpck_require__(8824);
let ICE;
function initAdvancedICE(_ICE) {
console.log(_ICE);
ICE = _ICE;
}
exports.initAdvancedICE = initAdvancedICE;
@@ -15536,7 +15535,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.IssueCoreEngine = void 0;
const rest_1 = __nccwpck_require__(5375);
const core = __importStar(__nccwpck_require__(2186));
const core = __importStar(__nccwpck_require__(9875));
const shared_1 = __nccwpck_require__(3826);
class IssueCoreEngine {
constructor(_info) {
@@ -15893,10 +15892,8 @@ function main() {
return __awaiter(this, void 0, void 0, function* () {
try {
const actions = core.getInput('actions', { required: true });
console.log(actions);
const IHE = new helper_1.IssueHelperEngine(github.context);
for (const action of (0, actions_util_1.dealStringToArr)(actions)) {
console.log(action);
yield IHE.doExeAction(action);
}
core.baseInfo(`\n${actions_util_1.THANKS}`);

View File

@@ -19,7 +19,6 @@ import {
let ICE: IIssueCoreEngine;
export function initAdvancedICE(_ICE: IIssueCoreEngine) {
console.log(_ICE)
ICE = _ICE;
}

View File

@@ -1,5 +1,5 @@
import { Octokit } from '@octokit/rest';
import * as core from '@actions/core';
import * as core from '../core';
import { EEmoji } from '../shared';
import { TEmoji, TLockReasons, TUpdateMode, TIssueState, TUserPermission } from '../types';
import { IIssueBaseInfo, IIssueCoreEngine, IListIssuesParams, TIssueList, TIssueInfo, TCommentList } from './types';

View File

@@ -9,10 +9,8 @@ import type { TAction } from './types';
async function main() {
try {
const actions = core.getInput('actions', { required: true });
console.log(actions)
const IHE = new IssueHelperEngine(github.context);
for (const action of dealStringToArr(actions)) {
console.log(action)
await IHE.doExeAction(action as TAction);
}
core.baseInfo(`\n${THANKS}`);