Skip to content

Commit 9b74740

Browse files
committed
Release: Remove support for node <0.8.
1 parent 6970715 commit 9b74740

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

build/release/release.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@
99

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

379-
if ( existsSync( baseDir ) ) {
376+
if ( fs.existsSync( baseDir ) ) {
380377
console.log( "The directory '" + baseDir + "' already exists." );
381378
console.log( "Aborting." );
382379
process.exit( 1 );

0 commit comments

Comments
 (0)