Skip to content

Commit

Permalink
πŸ› Fix prevent trimming attempts on undefined value (#389)
Browse files Browse the repository at this point in the history
  • Loading branch information
asennikov authored May 5, 2024
1 parent 643bc80 commit 9c29c6f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15946,7 +15946,8 @@ const context = {
}),
ALIAS_DOMAINS: parser.getInput({
key: 'ALIAS_DOMAINS',
type: 'array'
type: 'array',
disableable: true
}),
PR_PREVIEW_DOMAIN: parser.getInput({
key: 'PR_PREVIEW_DOMAIN'
Expand Down Expand Up @@ -16040,6 +16041,7 @@ core.debug(

module.exports = context


/***/ }),

/***/ 8396:
Expand Down Expand Up @@ -16183,8 +16185,8 @@ const execCmd = (command, args, cwd) => {
core.debug(`EXEC: "${ command } ${ args }" in ${ cwd || '.' }`)
return new Promise((resolve, reject) => {
const process = spawn(command, args, { cwd })
let stdout
let stderr
let stdout = ''
let stderr = ''

process.stdout.on('data', (data) => {
core.debug(data.toString())
Expand Down
4 changes: 2 additions & 2 deletions src/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ const execCmd = (command, args, cwd) => {
core.debug(`EXEC: "${ command } ${ args }" in ${ cwd || '.' }`)
return new Promise((resolve, reject) => {
const process = spawn(command, args, { cwd })
let stdout
let stderr
let stdout = ''
let stderr = ''

process.stdout.on('data', (data) => {
core.debug(data.toString())
Expand Down

0 comments on commit 9c29c6f

Please sign in to comment.