update built action

This commit is contained in:
Jonas Kruckenberg 2022-07-06 23:16:47 +02:00
parent 98d6d78ef6
commit 406f9292d4
5 changed files with 18 additions and 12 deletions

BIN
dist/cli.darwin-x64.node generated vendored

Binary file not shown.

BIN
dist/cli.linux-x64-gnu.node generated vendored

Binary file not shown.

BIN
dist/cli.win32-x64-msvc.node generated vendored

Binary file not shown.

28
dist/index.js generated vendored
View File

@ -1,21 +1,21 @@
require('./sourcemap-register.js');/******/ (() => { // webpackBootstrap require('./sourcemap-register.js');/******/ (() => { // webpackBootstrap
/******/ var __webpack_modules__ = ({ /******/ var __webpack_modules__ = ({
/***/ 2774: /***/ 1080:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
module.exports = require(__nccwpck_require__.ab + "cli.darwin-x64.node") module.exports = require(__nccwpck_require__.ab + "cli.darwin-x64.node")
/***/ }), /***/ }),
/***/ 3961: /***/ 7934:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
module.exports = require(__nccwpck_require__.ab + "cli.linux-x64-gnu.node") module.exports = require(__nccwpck_require__.ab + "cli.linux-x64-gnu.node")
/***/ }), /***/ }),
/***/ 5673: /***/ 1111:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
module.exports = require(__nccwpck_require__.ab + "cli.win32-x64-msvc.node") module.exports = require(__nccwpck_require__.ab + "cli.win32-x64-msvc.node")
@ -64,7 +64,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
}; };
Object.defineProperty(exports, "__esModule", ({ value: true })); Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.buildProject = void 0; exports.buildProject = void 0;
const cli_1 = __nccwpck_require__(5308); const cli_1 = __nccwpck_require__(5809);
const path_1 = __nccwpck_require__(1017); const path_1 = __nccwpck_require__(1017);
const tiny_glob_1 = __importDefault(__nccwpck_require__(6926)); const tiny_glob_1 = __importDefault(__nccwpck_require__(6926));
const core = __importStar(__nccwpck_require__(6953)); const core = __importStar(__nccwpck_require__(6953));
@ -72,6 +72,9 @@ const child_process_1 = __nccwpck_require__(2081);
function buildProject(options) { function buildProject(options) {
return __awaiter(this, void 0, void 0, function* () { return __awaiter(this, void 0, void 0, function* () {
const args = options.args || []; const args = options.args || [];
if (options.debug) {
args.push('--debug');
}
if (options.configPath) { if (options.configPath) {
args.push('--config', options.configPath); args.push('--config', options.configPath);
} }
@ -1981,7 +1984,7 @@ exports.checkBypass = checkBypass;
/***/ }), /***/ }),
/***/ 8296: /***/ 3802:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
const { existsSync, readFileSync } = __nccwpck_require__(7147) const { existsSync, readFileSync } = __nccwpck_require__(7147)
@ -2048,7 +2051,7 @@ switch (platform) {
if (localFileExisted) { if (localFileExisted) {
nativeBinding = __nccwpck_require__(1255) nativeBinding = __nccwpck_require__(1255)
} else { } else {
nativeBinding = __nccwpck_require__(5673) nativeBinding = __nccwpck_require__(1111)
} }
} catch (e) { } catch (e) {
loadError = e loadError = e
@ -2094,7 +2097,7 @@ switch (platform) {
if (localFileExisted) { if (localFileExisted) {
nativeBinding = __nccwpck_require__(9979) nativeBinding = __nccwpck_require__(9979)
} else { } else {
nativeBinding = __nccwpck_require__(2774) nativeBinding = __nccwpck_require__(1080)
} }
} catch (e) { } catch (e) {
loadError = e loadError = e
@ -2157,7 +2160,7 @@ switch (platform) {
if (localFileExisted) { if (localFileExisted) {
nativeBinding = __nccwpck_require__(2026) nativeBinding = __nccwpck_require__(2026)
} else { } else {
nativeBinding = __nccwpck_require__(3961) nativeBinding = __nccwpck_require__(7934)
} }
} catch (e) { } catch (e) {
loadError = e loadError = e
@ -2222,17 +2225,18 @@ if (!nativeBinding) {
throw new Error(`Failed to load native binding`) throw new Error(`Failed to load native binding`)
} }
const { run } = nativeBinding const { run, logError } = nativeBinding
module.exports.run = run module.exports.run = run
module.exports.logError = logError
/***/ }), /***/ }),
/***/ 5308: /***/ 5809:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
const { run } = __nccwpck_require__(8296) const { run, logError } = __nccwpck_require__(3802)
module.exports.run = (args, binName) => { module.exports.run = (args, binName) => {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
@ -2246,6 +2250,8 @@ module.exports.run = (args, binName) => {
}) })
} }
module.exports.logError = logError
/***/ }), /***/ }),

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long