mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-10 13:07:25 +00:00
test bad unlink
This commit is contained in:
parent
5f55456d46
commit
eb1ea256cb
2 changed files with 4 additions and 4 deletions
4
dist/index.js
vendored
4
dist/index.js
vendored
|
|
@ -287,7 +287,7 @@ try {
|
||||||
fail_ci = false;
|
fail_ci = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
request("https://codecov.io/bas", (error, response, body) => {
|
request("https://codecov.io/bash", (error, response, body) => {
|
||||||
if (error && fail_ci) {
|
if (error && fail_ci) {
|
||||||
throw error;
|
throw error;
|
||||||
} else if (error) {
|
} else if (error) {
|
||||||
|
|
@ -408,7 +408,7 @@ try {
|
||||||
}
|
}
|
||||||
|
|
||||||
const unlinkFile = () => {
|
const unlinkFile = () => {
|
||||||
fs.unlink("codecov.sh", err => {
|
fs.unlink("codeco.sh", err => {
|
||||||
if (err && fail_ci) {
|
if (err && fail_ci) {
|
||||||
throw err;
|
throw err;
|
||||||
} else if (err) {
|
} else if (err) {
|
||||||
|
|
|
||||||
4
index.js
4
index.js
|
|
@ -24,7 +24,7 @@ try {
|
||||||
fail_ci = false;
|
fail_ci = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
request("https://codecov.io/bas", (error, response, body) => {
|
request("https://codecov.io/bash", (error, response, body) => {
|
||||||
if (error && fail_ci) {
|
if (error && fail_ci) {
|
||||||
throw error;
|
throw error;
|
||||||
} else if (error) {
|
} else if (error) {
|
||||||
|
|
@ -145,7 +145,7 @@ try {
|
||||||
}
|
}
|
||||||
|
|
||||||
const unlinkFile = () => {
|
const unlinkFile = () => {
|
||||||
fs.unlink("codecov.sh", err => {
|
fs.unlink("codeco.sh", err => {
|
||||||
if (err && fail_ci) {
|
if (err && fail_ci) {
|
||||||
throw err;
|
throw err;
|
||||||
} else if (err) {
|
} else if (err) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue