Use dirname

This commit is contained in:
Tom Hu 2021-06-24 16:08:51 -04:00
parent c921fa8135
commit 75a54f4668
No known key found for this signature in database
GPG key ID: F7E832BD316D5603
2 changed files with 2 additions and 2 deletions

2
dist/index.js vendored
View file

@ -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);
}

View file

@ -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(