We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
throwOnError
1 parent 88f7f70 commit 7fe9a19Copy full SHA for 7fe9a19
semanticcpg/src/main/scala/io/shiftleft/semanticcpg/validation/validation.scala
@@ -73,7 +73,7 @@ object PostFrontendValidator {
73
* Goal is to improve the pass once we fixed current violations, and then have new ideas what to check. Then plug in
74
* faster checking code, then enable in sptests and prod.
75
*/
76
-class PostFrontendValidator(cpg: Cpg, throwOnError: Boolean, validationLevel: Int = Int.MaxValue)
+class PostFrontendValidator(cpg: Cpg, throwOnError: Boolean = true, validationLevel: Int = Int.MaxValue)
77
extends AbstractValidator(cpg) {
78
import PostFrontendValidator.logger
79
import PostFrontendValidator.ErrorType.*
0 commit comments