mirror of
https://github.com/codecov/codecov-action.git
synced 2025-12-23 20:27:02 +08:00
test bad unlink
This commit is contained in:
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) {
|
||||
|
||||
Reference in New Issue
Block a user