added more logs to identify #193
This commit is contained in:
parent
7a87f05809
commit
75c1d00e6e
2
index.js
2
index.js
|
@ -10,6 +10,7 @@ if (process.env.PACKAGEJSON_DIR) {
|
||||||
process.chdir(process.env.GITHUB_WORKSPACE);
|
process.chdir(process.env.GITHUB_WORKSPACE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
console.log('process.env.GITHUB_WORKSPACE', process.env.GITHUB_WORKSPACE);
|
||||||
const workspace = process.env.GITHUB_WORKSPACE;
|
const workspace = process.env.GITHUB_WORKSPACE;
|
||||||
const pkg = getPackageJson();
|
const pkg = getPackageJson();
|
||||||
|
|
||||||
|
@ -258,6 +259,7 @@ function logError(error) {
|
||||||
|
|
||||||
function runInWorkspace(command, args) {
|
function runInWorkspace(command, args) {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
|
console.log('runInWorkspace | command:', command, 'args:', args);
|
||||||
const child = spawn(command, args, { cwd: workspace });
|
const child = spawn(command, args, { cwd: workspace });
|
||||||
let isDone = false;
|
let isDone = false;
|
||||||
const errorMessages = [];
|
const errorMessages = [];
|
||||||
|
|
Loading…
Reference in New Issue