mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-09 20:47:26 +00:00
fix: add stack
This commit is contained in:
parent
c5627fcd77
commit
69c6af52b7
3 changed files with 11 additions and 7 deletions
14
dist/index.js
vendored
14
dist/index.js
vendored
|
|
@ -1,7 +1,7 @@
|
|||
require('./sourcemap-register.js');/******/ (() => { // webpackBootstrap
|
||||
/******/ var __webpack_modules__ = ({
|
||||
|
||||
/***/ 5241:
|
||||
/***/ 7351:
|
||||
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
||||
|
||||
"use strict";
|
||||
|
|
@ -135,7 +135,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|||
};
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.getIDToken = exports.getState = exports.saveState = exports.group = exports.endGroup = exports.startGroup = exports.info = exports.notice = exports.warning = exports.error = exports.debug = exports.isDebug = exports.setFailed = exports.setCommandEcho = exports.setOutput = exports.getBooleanInput = exports.getMultilineInput = exports.getInput = exports.addPath = exports.setSecret = exports.exportVariable = exports.ExitCode = void 0;
|
||||
const command_1 = __nccwpck_require__(5241);
|
||||
const command_1 = __nccwpck_require__(7351);
|
||||
const file_command_1 = __nccwpck_require__(717);
|
||||
const utils_1 = __nccwpck_require__(5278);
|
||||
const os = __importStar(__nccwpck_require__(2037));
|
||||
|
|
@ -1911,7 +1911,7 @@ const os = __importStar(__nccwpck_require__(2037));
|
|||
const events = __importStar(__nccwpck_require__(2361));
|
||||
const child = __importStar(__nccwpck_require__(2081));
|
||||
const path = __importStar(__nccwpck_require__(1017));
|
||||
const io = __importStar(__nccwpck_require__(7351));
|
||||
const io = __importStar(__nccwpck_require__(7436));
|
||||
const ioUtil = __importStar(__nccwpck_require__(1962));
|
||||
const timers_1 = __nccwpck_require__(9512);
|
||||
/* eslint-disable @typescript-eslint/unbound-method */
|
||||
|
|
@ -3577,7 +3577,7 @@ exports.getCmdPath = getCmdPath;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 7351:
|
||||
/***/ 7436:
|
||||
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
||||
|
||||
"use strict";
|
||||
|
|
@ -22065,10 +22065,10 @@ var external_fs_ = __nccwpck_require__(7147);
|
|||
var external_https_ = __nccwpck_require__(5687);
|
||||
// EXTERNAL MODULE: external "path"
|
||||
var external_path_ = __nccwpck_require__(1017);
|
||||
// EXTERNAL MODULE: ./node_modules/@actions/exec/lib/exec.js
|
||||
var exec = __nccwpck_require__(1514);
|
||||
// EXTERNAL MODULE: ./node_modules/@actions/core/lib/core.js
|
||||
var core = __nccwpck_require__(2186);
|
||||
// EXTERNAL MODULE: ./node_modules/@actions/exec/lib/exec.js
|
||||
var exec = __nccwpck_require__(1514);
|
||||
// EXTERNAL MODULE: ./node_modules/@actions/github/lib/github.js
|
||||
var github = __nccwpck_require__(5438);
|
||||
;// CONCATENATED MODULE: ./package.json
|
||||
|
|
@ -24590,6 +24590,7 @@ var src_awaiter = (undefined && undefined.__awaiter) || function (thisArg, _argu
|
|||
|
||||
|
||||
|
||||
|
||||
let failCi;
|
||||
try {
|
||||
const { execArgs, options, failCi, os, uploaderVersion, verbose } = src_buildExec();
|
||||
|
|
@ -24601,6 +24602,7 @@ try {
|
|||
res.pipe(filePath);
|
||||
filePath
|
||||
.on('error', (err) => {
|
||||
core.info(`Stack: ${err.stack}`);
|
||||
setFailure(`Codecov:Failed to write uploader binary: ${err.message}\n${err}`, true);
|
||||
}).on('finish', () => src_awaiter(void 0, void 0, void 0, function* () {
|
||||
filePath.close();
|
||||
|
|
|
|||
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
|
|
@ -2,6 +2,7 @@ import * as fs from 'fs';
|
|||
import * as https from 'https';
|
||||
import * as path from 'path';
|
||||
|
||||
import * as core from '@actions/core';
|
||||
import * as exec from '@actions/exec';
|
||||
|
||||
import buildExec from './buildExec';
|
||||
|
|
@ -28,6 +29,7 @@ try {
|
|||
res.pipe(filePath);
|
||||
filePath
|
||||
.on('error', (err) => {
|
||||
core.info(`Stack: ${err.stack}`);
|
||||
setFailure(
|
||||
`Codecov:Failed to write uploader binary: ${err.message}\n${err}`,
|
||||
true,
|
||||
|
|
|
|||
Loading…
Reference in a new issue