File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -573,7 +573,7 @@ export class Conditional {
573
573
574
574
push ( indicatorStr : string ) {
575
575
if ( indicatorStr . substring ( 0 , 1 ) === `O` && this . conditions [ this . conditions . length - 1 ] . indicators . length > 0 ) {
576
- if ( this . conditions . length >= 8 ) {
576
+ if ( this . conditions . length >= 9 ) {
577
577
throw new Error ( "Too many conditions" ) ;
578
578
}
579
579
this . conditions . push ( { indicators : [ ] } ) ;
@@ -591,7 +591,7 @@ export class Conditional {
591
591
negate = ( indicatorStr . substring ( cIndex , cIndex + 1 ) === "N" ) ;
592
592
indicator = Number ( indicatorStr . substring ( cIndex + 1 , cIndex + 3 ) ) ;
593
593
if ( indicator !== 0 ) {
594
- if ( this . conditions [ this . conditions . length - 1 ] . indicators . length >= 8 ) {
594
+ if ( this . conditions [ this . conditions . length - 1 ] . indicators . length >= 9 ) {
595
595
throw new Error ( "Too many option indicators specified for one condition" ) ;
596
596
}
597
597
this . conditions [ this . conditions . length - 1 ] . indicators . push ( {
You can’t perform that action at this time.
0 commit comments