fix(util): fix build issue
This may be caused by ncc not correctly using edModuleInterlop
This commit is contained in:
28
lib/index.js
28
lib/index.js
@@ -9625,26 +9625,42 @@ function logOutputs() {
|
|||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
if (k2 === undefined) k2 = k;
|
||||||
|
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
||||||
|
}) : (function(o, m, k, k2) {
|
||||||
|
if (k2 === undefined) k2 = k;
|
||||||
|
o[k2] = m[k];
|
||||||
|
}));
|
||||||
|
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||||
|
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||||
|
}) : function(o, v) {
|
||||||
|
o["default"] = v;
|
||||||
|
});
|
||||||
|
var __importStar = (this && this.__importStar) || function (mod) {
|
||||||
|
if (mod && mod.__esModule) return mod;
|
||||||
|
var result = {};
|
||||||
|
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
||||||
|
__setModuleDefault(result, mod);
|
||||||
|
return result;
|
||||||
};
|
};
|
||||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||||
exports.setOutput = exports.parseBool = exports.log = exports.getInput = exports.outputs = void 0;
|
exports.setOutput = exports.parseBool = exports.log = exports.getInput = exports.outputs = void 0;
|
||||||
const core_1 = __importDefault(__webpack_require__(2186));
|
const core = __importStar(__webpack_require__(2186));
|
||||||
exports.outputs = {
|
exports.outputs = {
|
||||||
committed: 'false',
|
committed: 'false',
|
||||||
pushed: 'false',
|
pushed: 'false',
|
||||||
tagged: 'false'
|
tagged: 'false'
|
||||||
};
|
};
|
||||||
function getInput(name) {
|
function getInput(name) {
|
||||||
return core_1.default.getInput(name);
|
return core.getInput(name);
|
||||||
}
|
}
|
||||||
exports.getInput = getInput;
|
exports.getInput = getInput;
|
||||||
function log(err, data) {
|
function log(err, data) {
|
||||||
if (data)
|
if (data)
|
||||||
console.log(data);
|
console.log(data);
|
||||||
if (err)
|
if (err)
|
||||||
core_1.default.error(err);
|
core.error(err);
|
||||||
}
|
}
|
||||||
exports.log = log;
|
exports.log = log;
|
||||||
function parseBool(value) {
|
function parseBool(value) {
|
||||||
@@ -9657,7 +9673,7 @@ function parseBool(value) {
|
|||||||
}
|
}
|
||||||
exports.parseBool = parseBool;
|
exports.parseBool = parseBool;
|
||||||
function setOutput(name, value) {
|
function setOutput(name, value) {
|
||||||
core_1.default.setOutput(name, value);
|
core.setOutput(name, value);
|
||||||
}
|
}
|
||||||
exports.setOutput = setOutput;
|
exports.setOutput = setOutput;
|
||||||
for (const key in exports.outputs)
|
for (const key in exports.outputs)
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import core from '@actions/core'
|
import * as core from '@actions/core'
|
||||||
|
|
||||||
export type Input =
|
export type Input =
|
||||||
| 'add'
|
| 'add'
|
||||||
|
|||||||
Reference in New Issue
Block a user