lib/utils.js
function getURL( repository ) {
    var repourl;

    if (typeof repository === 'object') {
        repourl = repository.url;
    } else {
        repourl = repository
    };

    return repourl;
}
function getURL( repository ) {
    var repourl;

    if (typeof repository === 'object') {
        repourl = repository.url;
    } else {
        repourl = repository
    };

    return repourl;
}
function getURL ( repository ) { var repourl ; if ( typeof repository === 'object' ) { repourl = repository . url ; } else { repourl = repository } ; return repourl ; }
Returns a URL according to the type of a repository

@private
@commit 4fd38b97f4763d288f9f948acbf1122f33bf6951
Returns a URL according to the type of a repository