diff --git a/src/create-pull-request.ts b/src/create-pull-request.ts index 9535b7b..bf5eb9c 100644 --- a/src/create-pull-request.ts +++ b/src/create-pull-request.ts @@ -265,6 +265,7 @@ export async function createPullRequest(inputs: Inputs): Promise { } } } catch (error) { + console.log(error) core.setFailed(utils.getErrorMessage(error)) } finally { // Remove auth and restore persisted auth config if it existed diff --git a/src/utils.ts b/src/utils.ts index c84532a..92ba36c 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -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))