These changes move the logic for handling the "skip" option into githubUtils.js and reducing relevant code in index.js to a single line that calls on a handleSkipOption function. Also, the variables that will contain the extracted data from PRs are initialized outside of the try-catch block so that the values attached to these variables can be accessed by functions within either the try block or the catch block.
Description
These changes move the logic for handling the "skip" option into
githubUtils.js
and reducing relevant code inindex.js
to a single line that calls on ahandleSkipOption
function. Also, the variables that will contain the extracted data from PRs are initialized outside of thetry-catch
block so that the values attached to these variables can be accessed by functions within either thetry
block or thecatch
block.Issues
Resolves Issue #18