mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-09 20:47:26 +00:00
fix location
This commit is contained in:
parent
670440531f
commit
e5bb28858d
1 changed files with 2 additions and 2 deletions
4
index.js
4
index.js
|
|
@ -1,7 +1,7 @@
|
|||
const core = require('@actions/core');
|
||||
const github = require('@actions/github');
|
||||
const request = require('request');
|
||||
const execSh = require('./exec-sh');
|
||||
const execSh = require('./node_modules/exec-sh/lib/exec-sh');
|
||||
|
||||
const { exec } = require('child_process');
|
||||
|
||||
|
|
@ -28,7 +28,7 @@ try {
|
|||
console.log('error:', error);
|
||||
console.log('statusCode:', response && response.statusCode);
|
||||
//console.log('body:', body);
|
||||
execSh("echo lorem", true, (err, stdout, stderr)=>{
|
||||
execSh(`echo ${body}`, true, (err, stdout, stderr)=>{
|
||||
console.log("error: ", err);
|
||||
console.log("stdout: ", stdout);
|
||||
console.log("stderr: ", stderr);
|
||||
|
|
|
|||
Loading…
Reference in a new issue