mirror of
https://forgejo.stefka.eu/jiriks74/create-pull-request.git
synced 2025-01-18 16:01:06 +01:00
clean up debug stuff
This commit is contained in:
parent
678e777973
commit
b3abc86801
3 changed files with 0 additions and 11 deletions
|
@ -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
|
||||||
|
|
|
@ -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))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue