Skip to content

Commit aada465

Browse files
committed
Fixes output printing
1 parent 4a012ff commit aada465

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/checkForHttpStatusCodesUpdate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ const createNewGithubIssue = async ( { httpStatusCodes, diffWithLastUsedVersion,
8181

8282
if ( dryRun ) {
8383
log.info( `Would create issue:\n${ JSON.stringify( newIssue, null, 4 ) }` );
84-
return { total_count: 1, html_url: context.repo.issues_url };
84+
return { number: 0, html_url: context.payload.repository.issues_url };
8585
}
8686

8787
return github.issues.create( newIssue );

0 commit comments

Comments
 (0)