tasks/push.js
function(callback) {
        grunt.log.write(wrap('===== saving hashes... '));
        ftpout.put(new Buffer(JSON.stringify(localHashes)), 'push-hashes', function(err) {
          if (err) { done(err); }
          grunt.log.writeln(wrapRight('[SUCCESS]').green);
          callback();
        });
      }
function(callback) {
        grunt.log.write(wrap('===== saving hashes... '));
        ftpout.put(new Buffer(JSON.stringify(localHashes)), 'push-hashes', function(err) {
          if (err) { done(err); }
          grunt.log.writeln(wrapRight('[SUCCESS]').green);
          callback();
        });
      }
function ( callback ) { grunt . log . write ( wrap ( '===== saving hashes... ' ) ) ; ftpout . put ( new Buffer ( JSON . stringify ( localHashes ) ) , 'push-hashes' , function ( err ) { if ( err ) { done ( err ) ; } grunt . log . writeln ( wrapRight ( '[SUCCESS]' ) . green ) ; callback ( ) ; } ) ; }
Change folder & files perms
Change folder & files perms