Showing 4 of 16 total issues
Function exports
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function (grunt) {
// init config
grunt.initConfig({
// default package
pkg : grunt.file.readJSON('package.json'),
Function ls
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Sftp.prototype.ls = function (config, remotePathDir, client) {
client = client || false;
// indicate if client was used
var usedClient = false;
Function mkdir
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Sftp.prototype.mkdir = function (config, pathFolder, parent) {
// create async process
var deferred = Q.defer();
// normalize the path
Function put
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Sftp.prototype.put = function (config, localPathFile, remotePathFile) {
// create async process
var deferred = Q.defer();