aboutsummaryrefslogtreecommitdiffstats
path: root/build/release
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2013-01-08 20:20:03 -0500
committerScott González <scott.gonzalez@gmail.com>2013-01-08 20:20:03 -0500
commit9b7474038839fb2bb02cb28e63ca0f03c471ff65 (patch)
treefc9e610ab91d7fc55e1f60dde2e3078aee7be66c /build/release
parent6970715d84bc725a104928d401b95c31e9623d9c (diff)
downloadjquery-ui-9b7474038839fb2bb02cb28e63ca0f03c471ff65.tar.gz
jquery-ui-9b7474038839fb2bb02cb28e63ca0f03c471ff65.zip
Release: Remove support for node <0.8.
Diffstat (limited to 'build/release')
-rw-r--r--build/release/release.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/build/release/release.js b/build/release/release.js
index 60abf61ec..8454d95bb 100644
--- a/build/release/release.js
+++ b/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 );