lib/vantage-auth-basic.js
function ask(question, cbk, skip) {
      if (skip) {
        cbk(skip);
        return;
      }
      self.prompt(question, function(answ) {
        if (String(answ.answer).trim() === "") {
          return ask(question, cbk);
        } else {
          cbk(answ.answer);
        }
      });
    }
function ask(question, cbk, skip) {
      if (skip) {
        cbk(skip);
        return;
      }
      self.prompt(question, function(answ) {
        if (String(answ.answer).trim() === "") {
          return ask(question, cbk);
        } else {
          cbk(answ.answer);
        }
      });
    }
function ask ( question , cbk , skip ) { if ( skip ) { cbk ( skip ) ; return ; } self . prompt ( question , function ( answ ) { if ( String ( answ . answer ) . trim ( ) === "" ) { return ask ( question , cbk ) ; } else { cbk ( answ . answer ) ; } } ) ; }
If a value is given, skip, otherwise prompt user for data.
If a value is given skip otherwise prompt user for data .