Skip to content

Commit

Permalink
adding acidentaly removed input
Browse files Browse the repository at this point in the history
  • Loading branch information
MuriloChianfa committed Oct 23, 2024
1 parent a3286b8 commit 2ff9239
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 12 deletions.
2 changes: 1 addition & 1 deletion badges/coverage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 4 additions & 5 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

9 changes: 4 additions & 5 deletions src/inputs/obfuscation-key.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@ const core = require('@actions/core')
* @returns {bool|string} Returns a validated obfuscation-key path input.
*/
module.exports = function validateObfuscationKey(standard = '') {
const obfuscationKey =
core.getInput('obfuscation-key', { required: false }) ?? standard
core.debug(
`Adding obfuscation-key path: ${obfuscationKey === '' ? 'NONE' : obfuscationKey}`
)
const required = { required: false }
const obfuscationKey = core.getInput('obfuscation-key', required) ?? standard
const path = obfuscationKey === '' ? 'NONE' : obfuscationKey
core.debug(`Adding obfuscation-key path: ${path}`)
return obfuscationKey
}

0 comments on commit 2ff9239

Please sign in to comment.