lib/ignored-paths.js
function removePrefixFromFilepath(filepath, prefix) {
    prefix += "/";
    if (filepath.indexOf(prefix) === 0) {
        filepath = filepath.substr(prefix.length);
    }
    return filepath;
}
function removePrefixFromFilepath(filepath, prefix) {
    prefix += "/";
    if (filepath.indexOf(prefix) === 0) {
        filepath = filepath.substr(prefix.length);
    }
    return filepath;
}
function removePrefixFromFilepath ( filepath , prefix ) { prefix += "/" ; if ( filepath . indexOf ( prefix ) === 0 ) { filepath = filepath . substr ( prefix . length ) ; } return filepath ; }
Remove a prefix from a filepath
@param {string} filepath Path to remove the prefix from
@param {string} prefix Prefix to remove from filepath
@returns {string} Normalized filepath
Remove a prefix from a filepath