Skip to content

Commit

Permalink
Fixed the validation script
Browse files Browse the repository at this point in the history
  • Loading branch information
mcasperson committed Nov 15, 2023
1 parent 591615e commit f54eb43
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pr_ocl_check/check.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,13 @@ if (require.main === module) {
}

checkPr(path.join(process.argv[2], 'deployment_process.ocl'))
.then(result => {
process.exit(result ? 0 : 1)
})
}

exports.checkPr = checkPr

/**
* This function performs the validation of the Octopus CaC OCL file
* @param ocl The OCL file to parse
* @returns {Promise<unknown>} A promise with true if the validation succeeded, and false otherwise
*/
function checkPr(ocl) {
// Read the file
Expand Down

0 comments on commit f54eb43

Please sign in to comment.