chore: Fix remarks
parent
0600ca1902
commit
4e5fd06e0e
13
src/index.js
13
src/index.js
|
@ -25,13 +25,6 @@ async function handleVersioningByExtension(ext, file, versionPath, releaseType)
|
||||||
|
|
||||||
async function run() {
|
async function run() {
|
||||||
try {
|
try {
|
||||||
|
|
||||||
process.on('unhandledRejection', (reason, promise) => {
|
|
||||||
let error = `Unhandled Rejection occurred. Reason: ${reason.stack}`
|
|
||||||
console.error(error)
|
|
||||||
core.setFailed(error)
|
|
||||||
});
|
|
||||||
|
|
||||||
let gitCommitMessage = core.getInput('git-message')
|
let gitCommitMessage = core.getInput('git-message')
|
||||||
const gitUserName = core.getInput('git-user-name')
|
const gitUserName = core.getInput('git-user-name')
|
||||||
const gitUserEmail = core.getInput('git-user-email')
|
const gitUserEmail = core.getInput('git-user-email')
|
||||||
|
@ -243,4 +236,10 @@ async function run() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
process.on('unhandledRejection', (reason, promise) => {
|
||||||
|
let error = `Unhandled Rejection occurred. ${reason.stack}`
|
||||||
|
console.error(error)
|
||||||
|
core.setFailed(error)
|
||||||
|
});
|
||||||
|
|
||||||
run()
|
run()
|
||||||
|
|
Loading…
Reference in New Issue