Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
RamanaReddy0M committed Jul 25, 2024
1 parent dcaa7d0 commit 4e4ae7f
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
13 changes: 13 additions & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10860,6 +10860,19 @@ async function run() {

if (flags) params.push(...parseFlagsToArray(flags));

console.log(`Report Config:${reportConfig}:`);

if (reportConfig && reportConfig!=null){
console.log(`defined and not null`);
}

if (reportConfig!=null && reportConfig){
console.log(`not null and defined`);
}
if (reportConfig!=null && reportConfig && reportConfig.trim().length > 0){
console.log(`reportConfig.trim().length > 0`);
}

// If everything is fine and github-report is set, generate the yaml config file.
if (githubReport == true) {
// create default config file with name `github-report.yaml`
Expand Down
13 changes: 13 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,19 @@ async function run() {

if (flags) params.push(...parseFlagsToArray(flags));

console.log(`Report Config:${reportConfig}:`);

if (reportConfig && reportConfig!=null){
console.log(`defined and not null`);
}

if (reportConfig!=null && reportConfig){
console.log(`not null and defined`);
}
if (reportConfig!=null && reportConfig && reportConfig.trim().length > 0){
console.log(`reportConfig.trim().length > 0`);
}

// If everything is fine and github-report is set, generate the yaml config file.
if (githubReport == true) {
// create default config file with name `github-report.yaml`
Expand Down

0 comments on commit 4e4ae7f

Please sign in to comment.