File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -709,7 +709,7 @@ function getClauseAndRemainder(pat) {
709709
710710function compilePredicate ( pp , q ) {
711711 if ( pp . indexOf ( '<' ) !== - 1 && pp . indexOf ( '>' ) !== - 1 ) {
712- let pred = pp . slice ( 1 , pp . length - 1 ) ;
712+ const pred = pp . slice ( 1 , pp . length - 1 ) ;
713713 // eslint-disable-next-line no-multi-assign,no-constant-condition
714714 const cleaned = pred === '.' ? null : q . cleanPathPredicate ( pred ) ;
715715 return {
Original file line number Diff line number Diff line change @@ -357,9 +357,9 @@ WOQLPrinter.prototype.decompilePathPattern = function (pstruct) {
357357 // eslint-disable-next-line default-case
358358 switch ( t ) {
359359 case 'InversePathPredicate' :
360- return pstruct . predicate ? `<${ pstruct . predicate } ` : '<.'
360+ return pstruct . predicate ? `<${ pstruct . predicate } ` : '<.' ;
361361 case 'PathPredicate' :
362- return pstruct . predicate ? `${ pstruct . predicate } ` : '.'
362+ return pstruct . predicate ? `${ pstruct . predicate } ` : '.' ;
363363 case 'PathPlus' :
364364 var next = pstruct . plus ;
365365 if ( Array . isArray ( next ) ) next = next [ 0 ] ;
You can’t perform that action at this time.
0 commit comments