mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Release: Remove support for node <0.8.
This commit is contained in:
parent
6970715d84
commit
9b74740388
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user