tasks/grunt-zipup.js
function (path) {
    if (fs.existsSync(path) && fs.statSync(path).isDirectory()) {
      return true;
    }
    return false;
  }
function (path) {
    if (fs.existsSync(path) && fs.statSync(path).isDirectory()) {
      return true;
    }
    return false;
  }
function ( path ) { if ( fs . existsSync ( path ) && fs . statSync ( path ) . isDirectory ( ) ) { return true ; } return false ; }
returns true if path exists and is a directory
returns true if path exists and is a directory