gulp-clean
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -14,3 +14,3 @@ 'use strict'; | ||
// Prevent mistakes with paths | ||
if (starts.test(filepath) && filepath !== cwd || (options ? options.force : false)) { | ||
if (starts.test(filepath) && filepath !== cwd || (options ? (options.force && typeof options.force === 'boolean') : false)) { | ||
rimraf(filepath, function (error) { | ||
@@ -17,0 +17,0 @@ if (!error) { |
{ | ||
"name": "gulp-clean", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "A gulp plugin for removing files and folders.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -45,2 +45,4 @@ # [gulp](https://github.com/wearefractal/gulp)-clean [![Build Status](https://secure.travis-ci.org/peter-vilja/gulp-clean.png?branch=master)](https://travis-ci.org/peter-vilja/gulp-clean) [![NPM version](https://badge.fury.io/js/gulp-clean.png)](http://badge.fury.io/js/gulp-clean) | ||
* **0.2.1** | ||
* Type check for force option's value | ||
* **0.2.0** | ||
@@ -47,0 +49,0 @@ * Support for option force, to allow removing files and folders outside the current working directory. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8731
66