Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
julz0815 committed Jun 11, 2023
1 parent 0dec97a commit 78b3deb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion issue.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
//

const { request } = require('@octokit/request');
const core = require('@actions/core');

// add the flaw to GitHub as an Issue
async function addVeracodeIssue(options, issue) {
Expand Down Expand Up @@ -34,7 +35,7 @@ async function addVeracodeIssue(options, issue) {
.then( async result => {
console.log(`Issue successfully created, result: ${result.status}`);
var issue_number = result.data.number
if ( debug == "true" ){
if ( options.debug == "true" ){
core.info('#### DEBUG START ####')
core.info('issues.js')
console.log("isPr?: "+options.isPR)
Expand Down

0 comments on commit 78b3deb

Please sign in to comment.