Skip to content

Commit 2ebc29c

Browse files
committed
replaced rimraf with del
1 parent 9905ce8 commit 2ebc29c

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

gulp/clean.js

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
var gulp = require('gulp');
2-
var rimraf = require('gulp-rimraf');
2+
var del = require('del');
33

44
var paths = require('./paths');
55

6-
gulp.task('clean', function () {
7-
return gulp.src(paths.dest.root, {read: false})
8-
.pipe(rimraf());
6+
gulp.task('clean', function (cb) {
7+
del([paths.dest.root], cb);
98
});

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
2-
"name": "NzbDrone",
2+
"name": "Sonarr",
33
"version": "0.0.0",
4-
"description": "NZBDrone",
4+
"description": "Sonarr",
55
"main": "index.js",
66
"scripts": {
77
"preinstall": ""
88
},
99
"repository": {
1010
"type": "git",
11-
"url": "git://github.com/NzbDrone/NzbDrone.git"
11+
"url": "git://github.com/Sonarr/Sonarr.git"
1212
},
1313
"author": "",
1414
"license": "BSD",
@@ -18,7 +18,7 @@
1818
"fs-extra": "0.12.0",
1919
"gulp": "3.8.10",
2020
"gulp-cached": "1.0.1",
21-
"gulp-rimraf": "0.1.1",
21+
"del": "0.1.3",
2222
"gulp-concat": "2.4.2",
2323
"gulp-declare": "0.3.0",
2424
"gulp-handlebars": "2.2.0",

0 commit comments

Comments
 (0)