Skip to content

Commit f54eb43

Browse files
committed
Fixed the validation script
1 parent 591615e commit f54eb43

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pr_ocl_check/check.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,13 @@ if (require.main === module) {
1717
}
1818

1919
checkPr(path.join(process.argv[2], 'deployment_process.ocl'))
20-
.then(result => {
21-
process.exit(result ? 0 : 1)
22-
})
2320
}
2421

2522
exports.checkPr = checkPr
2623

2724
/**
2825
* This function performs the validation of the Octopus CaC OCL file
2926
* @param ocl The OCL file to parse
30-
* @returns {Promise<unknown>} A promise with true if the validation succeeded, and false otherwise
3127
*/
3228
function checkPr(ocl) {
3329
// Read the file

0 commit comments

Comments
 (0)