even more debug logging

This commit is contained in:
ddorando 2023-09-05 16:23:41 +03:00
parent 260c5e341d
commit 83bd37ca12
2 changed files with 4 additions and 0 deletions

View file

@ -265,6 +265,7 @@ export async function createPullRequest(inputs: Inputs): Promise<void> {
}
}
} catch (error) {
console.log(error)
core.setFailed(utils.getErrorMessage(error))
} finally {
// Remove auth and restore persisted auth config if it existed

View file

@ -147,6 +147,9 @@ export function fileExistsSync(path: string): boolean {
throw new Error("Arg 'path' must not be empty")
}
console.log(path)
console.log(fs.realpathSync(path))
let stats: fs.Stats
try {
stats = fs.statSync(fs.realpathSync(path))