We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 591615e commit f54eb43Copy full SHA for f54eb43
pr_ocl_check/check.js
@@ -17,17 +17,13 @@ if (require.main === module) {
17
}
18
19
checkPr(path.join(process.argv[2], 'deployment_process.ocl'))
20
- .then(result => {
21
- process.exit(result ? 0 : 1)
22
- })
23
24
25
exports.checkPr = checkPr
26
27
/**
28
* This function performs the validation of the Octopus CaC OCL file
29
* @param ocl The OCL file to parse
30
- * @returns {Promise<unknown>} A promise with true if the validation succeeded, and false otherwise
31
*/
32
function checkPr(ocl) {
33
// Read the file
0 commit comments