clean up debug stuff

This commit is contained in:
Dario Dorando 2023-09-06 15:56:23 +03:00
parent 678e777973
commit b3abc86801
3 changed files with 0 additions and 11 deletions

View file

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

View file

@ -32,10 +32,6 @@ async function run(): Promise<void> {
await createPullRequest(inputs) await createPullRequest(inputs)
} catch (error) { } catch (error) {
if (error instanceof Error) {
core.error(error)
if (error.stack) core.error(error.stack)
}
core.setFailed(utils.getErrorMessage(error)) core.setFailed(utils.getErrorMessage(error))
} }
} }

View file

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