mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-10 04:57:24 +00:00
Use dirname
This commit is contained in:
parent
c921fa8135
commit
75a54f4668
2 changed files with 2 additions and 2 deletions
2
dist/index.js
vendored
2
dist/index.js
vendored
|
|
@ -7673,7 +7673,7 @@ var exec = __nccwpck_require__(1514);
|
|||
var failCi = src_buildExec().failCi;
|
||||
exec.exec('bash', ['bash/linux', '-c'])
|
||||
.then(function () {
|
||||
exec.exec('codecov-linux')["catch"](function (err) {
|
||||
exec.exec(__dirname + 'codecov-linux')["catch"](function (err) {
|
||||
if (failCi) {
|
||||
src_core.setFailed("Codecov failed with the following error: " + err.message);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ const {failCi} = buildExec();
|
|||
|
||||
exec.exec('bash', ['bash/linux', '-c'])
|
||||
.then(() => {
|
||||
exec.exec('codecov-linux')
|
||||
exec.exec(__dirname + 'codecov-linux')
|
||||
.catch((err) => {
|
||||
if (failCi) {
|
||||
core.setFailed(
|
||||
|
|
|
|||
Loading…
Reference in a new issue