{"action":"opened","issue":{"url":"https://api.github.com/repos/robrich/gulp-rimraf/issues/22","labels_url":"https://api.github.com/repos/robrich/gulp-rimraf/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/robrich/gulp-rimraf/issues/22/comments","events_url":"https://api.github.com/repos/robrich/gulp-rimraf/issues/22/events","html_url":"https://github.com/robrich/gulp-rimraf/issues/22","id":115486688,"number":22,"title":"Mission options...","user":{"login":"jmcollin78","id":1712374,"avatar_url":"https://avatars.githubusercontent.com/u/1712374?v=3","gravatar_id":"","url":"https://api.github.com/users/jmcollin78","html_url":"https://github.com/jmcollin78","followers_url":"https://api.github.com/users/jmcollin78/followers","following_url":"https://api.github.com/users/jmcollin78/following{/other_user}","gists_url":"https://api.github.com/users/jmcollin78/gists{/gist_id}","starred_url":"https://api.github.com/users/jmcollin78/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmcollin78/subscriptions","organizations_url":"https://api.github.com/users/jmcollin78/orgs","repos_url":"https://api.github.com/users/jmcollin78/repos","events_url":"https://api.github.com/users/jmcollin78/events{/privacy}","received_events_url":"https://api.github.com/users/jmcollin78/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-06T11:21:04Z","updated_at":"2015-11-06T11:21:04Z","closed_at":null,"body":"Hello,\r\n\r\nI try the very basic explains in README:\r\nDelete a folder: use rimraf directly (you don't need gulp-rimraf!):\r\n<code>\r\nvar rimraf = require('rimraf'); // rimraf directly\r\ngulp.task('task', function (cb) {\r\n  rimraf('./folder', cb);\r\n});\r\n</code>\r\nBut this leads to:\r\n<code>\r\n[12:18:35] AssertionError: rimraf: missing options\r\n    at rimraf (d:\\Projets\\Clouderial\\nodeProjects\\cld-apps\\node_modules\\rimraf\\rimraf.js:49:3)\r\n    at Gulp.<anonymous> (d:\\Projets\\Clouderial\\nodeProjects\\cld-apps\\gulpfile.js:307:5)\r\n</code>\r\nDo I miss something ?\r\n\r\nJM."}}