lib/lintifier.js
function scanErr(err, pathname) {
    log.debug(err);
    if ('ENOENT' === err.code) {
        callback(pathname + ' does not exist.');
    } else {
        callback('Unexpected error.');
    }

    // cli does process.exit() in callback, but unit tests don't.
    callback = function () {};
}
function scanErr(err, pathname) {
    log.debug(err);
    if ('ENOENT' === err.code) {
        callback(pathname + ' does not exist.');
    } else {
        callback('Unexpected error.');
    }

    // cli does process.exit() in callback, but unit tests don't.
    callback = function () {};
}
function scanErr ( err , pathname ) { log . debug ( err ) ; if ( 'ENOENT' === err . code ) { callback ( pathname + ' does not exist.' ) ; } else { callback ( 'Unexpected error.' ) ; } // cli does process.exit() in callback, but unit tests don't. callback = function ( ) { } ; }
scanfs error callback
scanfs error callback