index.js
function() {
        var distDir = this.readConfig('distDir');
        var packedDirName = this.readConfig('packedDirName');
        var archivePath = this.readConfig('archivePath');

        if (packedDirName) {
          packedDirName = path.join(archivePath, packedDirName);
          this.log('moving ' + distDir + ' to ' + packedDirName);

          this.distDir = packedDirName;
          return move(distDir, packedDirName);
        }

        return RSVP.resolve();
      }
function() {
        var distDir = this.readConfig('distDir');
        var packedDirName = this.readConfig('packedDirName');
        var archivePath = this.readConfig('archivePath');

        if (packedDirName) {
          packedDirName = path.join(archivePath, packedDirName);
          this.log('moving ' + distDir + ' to ' + packedDirName);

          this.distDir = packedDirName;
          return move(distDir, packedDirName);
        }

        return RSVP.resolve();
      }
function ( ) { var distDir = this . readConfig ( 'distDir' ) ; var packedDirName = this . readConfig ( 'packedDirName' ) ; var archivePath = this . readConfig ( 'archivePath' ) ; if ( packedDirName ) { packedDirName = path . join ( archivePath , packedDirName ) ; this . log ( 'moving ' + distDir + ' to ' + packedDirName ) ; this . distDir = packedDirName ; return move ( distDir , packedDirName ) ; } return RSVP . resolve ( ) ; }
to allow configurable naming of the directory inside the tarball
to allow configurable naming of the directory inside the tarball