Skip to content

Commit

Permalink
added more logs to identify #193
Browse files Browse the repository at this point in the history
  • Loading branch information
phips28 committed Oct 27, 2022
1 parent 7a87f05 commit 75c1d00
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ if (process.env.PACKAGEJSON_DIR) {
process.chdir(process.env.GITHUB_WORKSPACE);
}

console.log('process.env.GITHUB_WORKSPACE', process.env.GITHUB_WORKSPACE);
const workspace = process.env.GITHUB_WORKSPACE;
const pkg = getPackageJson();

Expand Down Expand Up @@ -258,6 +259,7 @@ function logError(error) {

function runInWorkspace(command, args) {
return new Promise((resolve, reject) => {
console.log('runInWorkspace | command:', command, 'args:', args);
const child = spawn(command, args, { cwd: workspace });
let isDone = false;
const errorMessages = [];
Expand Down

0 comments on commit 75c1d00

Please sign in to comment.