Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The example of doc don't work #125

Open
luichooy opened this issue Jun 10, 2020 · 2 comments
Open

The example of doc don't work #125

luichooy opened this issue Jun 10, 2020 · 2 comments

Comments

@luichooy
Copy link

It don't work while I running the example below.

// To delete all subdirectories inside public/, you can do:
del.sync(['public/*/']);

However, It works correctly as below:

del.sync(['public/*'])

Is this a doc error or a bug? My installed version is "5.1.0"

@fredgan
Copy link

fredgan commented Oct 19, 2020

I use version 6.0.0, the same result as you.

@aotemj
Copy link

aotemj commented May 7, 2021

same result , version 6.0.0, and I use the del in gulp , gulp version is 4.0.2 ,my gulpfile.js like this

const delHandler = function () {
    return del(['./dist'])
}

module.exports.delHandler = delHandler

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants