lib/dependency-versions.js
function (rawLine) {
    // Maven on the Travis-CI Ubunty Trusty container makes the version line bold.
    // Let's just say I'm pretty salty at this point. So we strip ANSI codes.
    var line = stripAnsi(rawLine);
    debug('Checking cmd output: ' + line);
    var match = line.match(re);
    if (match !== null) {
      retv = match;
    }
  }
function (rawLine) {
    // Maven on the Travis-CI Ubunty Trusty container makes the version line bold.
    // Let's just say I'm pretty salty at this point. So we strip ANSI codes.
    var line = stripAnsi(rawLine);
    debug('Checking cmd output: ' + line);
    var match = line.match(re);
    if (match !== null) {
      retv = match;
    }
  }
function ( rawLine ) { // Maven on the Travis-CI Ubunty Trusty container makes the version line bold. // Let's just say I'm pretty salty at this point. So we strip ANSI codes. var line = stripAnsi ( rawLine ) ; debug ( 'Checking cmd output: ' + line ) ; var match = line . match ( re ) ; if ( match !== null ) { retv = match ; } }
if line matches regex return line
if line matches regex return line