Showing 2 of 4 total issues
Function isRemoteNewer
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
exports.isRemoteNewer = function (dest, opts) {
if (!dest) dest = pslFile
return new Promise((resolve, reject) => {
this.getFileStats(dest)
Function split_hostname
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
exports.split_hostname = function (host, level) {
if (!level || (level && !(level >= 1 && level <= 3))) {
level = 2
}