Skip to content

Commit

Permalink
action.cjs: debugLog options
Browse files Browse the repository at this point in the history
  • Loading branch information
thypon committed May 30, 2024
1 parent 595499b commit e109d3f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions action.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ module.exports = async ({ github, context, inputs, actionPath, core, debug = fal

const debugLog = options.debug ? console.log : () => {}

debugLog('Options: ', options)

if (!options.enabled) { return }

debugLog('Security Action enabled')
Expand Down

0 comments on commit e109d3f

Please sign in to comment.