mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-07 19:47: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;
|
||||
}
|
||||
|
||||
request("https://codecov.io/bas", (error, response, body) => {
|
||||
request("https://codecov.io/bash", (error, response, body) => {
|
||||
if (error && fail_ci) {
|
||||
throw error;
|
||||
} else if (error) {
|
||||
|
|
@ -408,7 +408,7 @@ try {
|
|||
}
|
||||
|
||||
const unlinkFile = () => {
|
||||
fs.unlink("codecov.sh", err => {
|
||||
fs.unlink("codeco.sh", err => {
|
||||
if (err && fail_ci) {
|
||||
throw err;
|
||||
} else if (err) {
|
||||
|
|
|
|||
4
index.js
4
index.js
|
|
@ -24,7 +24,7 @@ try {
|
|||
fail_ci = false;
|
||||
}
|
||||
|
||||
request("https://codecov.io/bas", (error, response, body) => {
|
||||
request("https://codecov.io/bash", (error, response, body) => {
|
||||
if (error && fail_ci) {
|
||||
throw error;
|
||||
} else if (error) {
|
||||
|
|
@ -145,7 +145,7 @@ try {
|
|||
}
|
||||
|
||||
const unlinkFile = () => {
|
||||
fs.unlink("codecov.sh", err => {
|
||||
fs.unlink("codeco.sh", err => {
|
||||
if (err && fail_ci) {
|
||||
throw err;
|
||||
} else if (err) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue