Skip to content
Permalink
Browse files

Release: Remove support for node <0.8.

  • Loading branch information...
scottgonzalez committed Jan 9, 2013
1 parent 6970715 commit 9b7474038839fb2bb02cb28e63ca0f03c471ff65
Showing with 1 addition and 4 deletions.
  1. +1 −4 build/release/release.js
@@ -9,9 +9,6 @@

var baseDir, repoDir, prevVersion, newVersion, nextVersion, tagTime, preRelease,
fs = require( "fs" ),
path = require( "path" ),
// support: node <0.8
existsSync = fs.existsSync || path.existsSync,
rnewline = /\r?\n/,
repo = "git@github.com:jquery/jquery-ui.git",
branch = "master";
@@ -376,7 +373,7 @@ function bootstrap( fn ) {
baseDir = process.cwd() + "/__release";
repoDir = baseDir + "/repo";

if ( existsSync( baseDir ) ) {
if ( fs.existsSync( baseDir ) ) {
console.log( "The directory '" + baseDir + "' already exists." );
console.log( "Aborting." );
process.exit( 1 );

0 comments on commit 9b74740

Please sign in to comment.
You can’t perform that action at this time.