mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-09 20:47:26 +00:00
comment out task
This commit is contained in:
parent
73585d79f2
commit
ee6b8d056a
1 changed files with 11 additions and 11 deletions
22
index.js
22
index.js
|
|
@ -44,17 +44,17 @@ try {
|
|||
});
|
||||
|
||||
|
||||
const command = `bash <(curl -s https://codecov.io/bash) -t ${token} -n ${name} -F ${flags} -f ${file}`
|
||||
exec(command, (err, stdout, stderr) => {
|
||||
if (err) {
|
||||
//some err occurred
|
||||
console.error(err)
|
||||
} else {
|
||||
// the *entire* stdout and stderr (buffered)
|
||||
console.log(`stdout: ${stdout}`);
|
||||
console.log(`stderr: ${stderr}`);
|
||||
}
|
||||
});
|
||||
// const command = `bash <(curl -s https://codecov.io/bash) -t ${token} -n ${name} -F ${flags} -f ${file}`
|
||||
// exec(command, (err, stdout, stderr) => {
|
||||
// if (err) {
|
||||
// //some err occurred
|
||||
// console.error(err)
|
||||
// } else {
|
||||
// // the *entire* stdout and stderr (buffered)
|
||||
// console.log(`stdout: ${stdout}`);
|
||||
// console.log(`stderr: ${stderr}`);
|
||||
// }
|
||||
// });
|
||||
|
||||
} catch (error) {
|
||||
core.setFailed(error.message);
|
||||
|
|
|
|||
Loading…
Reference in a new issue