Skip to content

Commit 7fe9a19

Browse files
committed
chore: default throwOnError to true
1 parent 88f7f70 commit 7fe9a19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

semanticcpg/src/main/scala/io/shiftleft/semanticcpg/validation/validation.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ object PostFrontendValidator {
7373
* Goal is to improve the pass once we fixed current violations, and then have new ideas what to check. Then plug in
7474
* faster checking code, then enable in sptests and prod.
7575
*/
76-
class PostFrontendValidator(cpg: Cpg, throwOnError: Boolean, validationLevel: Int = Int.MaxValue)
76+
class PostFrontendValidator(cpg: Cpg, throwOnError: Boolean = true, validationLevel: Int = Int.MaxValue)
7777
extends AbstractValidator(cpg) {
7878
import PostFrontendValidator.logger
7979
import PostFrontendValidator.ErrorType.*

0 commit comments

Comments
 (0)