From 2ebc29cd92114481b9780b8968860977ef74f6ab Mon Sep 17 00:00:00 2001 From: Keivan Beigi Date: Wed, 19 Nov 2014 16:42:55 -0800 Subject: [PATCH] replaced rimraf with del --- gulp/clean.js | 7 +++---- package.json | 8 ++++---- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/gulp/clean.js b/gulp/clean.js index ffe3a9579..61d8ca426 100644 --- a/gulp/clean.js +++ b/gulp/clean.js @@ -1,9 +1,8 @@ var gulp = require('gulp'); -var rimraf = require('gulp-rimraf'); +var del = require('del'); var paths = require('./paths'); -gulp.task('clean', function () { - return gulp.src(paths.dest.root, {read: false}) - .pipe(rimraf()); +gulp.task('clean', function (cb) { + del([paths.dest.root], cb); }); diff --git a/package.json b/package.json index 88b4a5f40..252b5f111 100644 --- a/package.json +++ b/package.json @@ -1,14 +1,14 @@ { - "name": "NzbDrone", + "name": "Sonarr", "version": "0.0.0", - "description": "NZBDrone", + "description": "Sonarr", "main": "index.js", "scripts": { "preinstall": "" }, "repository": { "type": "git", - "url": "git://github.com/NzbDrone/NzbDrone.git" + "url": "git://github.com/Sonarr/Sonarr.git" }, "author": "", "license": "BSD", @@ -18,7 +18,7 @@ "fs-extra": "0.12.0", "gulp": "3.8.10", "gulp-cached": "1.0.1", - "gulp-rimraf": "0.1.1", + "del": "0.1.3", "gulp-concat": "2.4.2", "gulp-declare": "0.3.0", "gulp-handlebars": "2.2.0",