index.js
function(p){
          var isRollLeft = roll==null || roll.getDepth()>=1

          if(roll){
            roll.up()
          }

          if(isRollLeft){
            next()
          }else{
            callback(null, null, resultStatus)//could not be found
            //fail()
          }
        }
function(p){
          var isRollLeft = roll==null || roll.getDepth()>=1

          if(roll){
            roll.up()
          }

          if(isRollLeft){
            next()
          }else{
            callback(null, null, resultStatus)//could not be found
            //fail()
          }
        }
function ( p ) { var isRollLeft = roll == null || roll . getDepth ( ) >= 1 if ( roll ) { roll . up ( ) } if ( isRollLeft ) { next ( ) } else { callback ( null , null , resultStatus ) //could not be found
 //fail()
 } }
could not be found logic
could not be found logic