this repo has no description
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: done should ~always parse

+19 -37
+9 -18
mast-react-vite/src/lib/command_js.js
··· 571 571 if (s6 === peg$FAILED) { 572 572 s6 = peg$parse_(); 573 573 } 574 - if (s6 !== peg$FAILED) { 575 - while (s6 !== peg$FAILED) { 576 - s5.push(s6); 577 - s6 = peg$parsePart(); 578 - if (s6 === peg$FAILED) { 579 - s6 = peg$parse_(); 580 - } 574 + while (s6 !== peg$FAILED) { 575 + s5.push(s6); 576 + s6 = peg$parsePart(); 577 + if (s6 === peg$FAILED) { 578 + s6 = peg$parse_(); 581 579 } 582 - } else { 583 - s5 = peg$FAILED; 584 580 } 585 - if (s5 !== peg$FAILED) { 586 - s6 = peg$parseEOF(); 587 - if (s6 !== peg$FAILED) { 588 - peg$savedPos = s0; 589 - s0 = peg$f1(s1, s5); 590 - } else { 591 - peg$currPos = s0; 592 - s0 = peg$FAILED; 593 - } 581 + s6 = peg$parseEOF(); 582 + if (s6 !== peg$FAILED) { 583 + peg$savedPos = s0; 584 + s0 = peg$f1(s1, s5); 594 585 } else { 595 586 peg$currPos = s0; 596 587 s0 = peg$FAILED;
+9 -18
parser/command_js.js
··· 571 571 if (s6 === peg$FAILED) { 572 572 s6 = peg$parse_(); 573 573 } 574 - if (s6 !== peg$FAILED) { 575 - while (s6 !== peg$FAILED) { 576 - s5.push(s6); 577 - s6 = peg$parsePart(); 578 - if (s6 === peg$FAILED) { 579 - s6 = peg$parse_(); 580 - } 574 + while (s6 !== peg$FAILED) { 575 + s5.push(s6); 576 + s6 = peg$parsePart(); 577 + if (s6 === peg$FAILED) { 578 + s6 = peg$parse_(); 581 579 } 582 - } else { 583 - s5 = peg$FAILED; 584 580 } 585 - if (s5 !== peg$FAILED) { 586 - s6 = peg$parseEOF(); 587 - if (s6 !== peg$FAILED) { 588 - peg$savedPos = s0; 589 - s0 = peg$f1(s1, s5); 590 - } else { 591 - peg$currPos = s0; 592 - s0 = peg$FAILED; 593 - } 581 + s6 = peg$parseEOF(); 582 + if (s6 !== peg$FAILED) { 583 + peg$savedPos = s0; 584 + s0 = peg$f1(s1, s5); 594 585 } else { 595 586 peg$currPos = s0; 596 587 s0 = peg$FAILED;
+1 -1
parser/command_js.peg
··· 51 51 } 52 52 53 53 // DONE COMMAND 54 - DoneCommand = selection:Selections? _? "done" _? parts:(Part / _)+ EOF { 54 + DoneCommand = selection:Selections? _? "done" _? parts:(Part / _)* EOF { 55 55 return makeCommand('done', selection, parts.filter(p => p !== null)); 56 56 } 57 57