{"action":"created","issue":{"url":"https://api.github.com/repos/sindresorhus/gulp-zip/issues/44","labels_url":"https://api.github.com/repos/sindresorhus/gulp-zip/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/sindresorhus/gulp-zip/issues/44/comments","events_url":"https://api.github.com/repos/sindresorhus/gulp-zip/issues/44/events","html_url":"https://github.com/sindresorhus/gulp-zip/issues/44","id":60315458,"number":44,"title":"Skips empty folders","user":{"login":"rootty","id":829953,"avatar_url":"https://avatars.githubusercontent.com/u/829953?v=3","gravatar_id":"","url":"https://api.github.com/users/rootty","html_url":"https://github.com/rootty","followers_url":"https://api.github.com/users/rootty/followers","following_url":"https://api.github.com/users/rootty/following{/other_user}","gists_url":"https://api.github.com/users/rootty/gists{/gist_id}","starred_url":"https://api.github.com/users/rootty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rootty/subscriptions","organizations_url":"https://api.github.com/users/rootty/orgs","repos_url":"https://api.github.com/users/rootty/repos","events_url":"https://api.github.com/users/rootty/events{/privacy}","received_events_url":"https://api.github.com/users/rootty/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-09T09:07:52Z","updated_at":"2015-03-12T10:46:47Z","closed_at":null,"body":"Hello,\r\n\r\nI have following folder structure:\r\n\r\n* zip_test\r\n * folder1\r\n   * test.txt\r\n    * folder2\r\n      * test.txt\r\n * _folder2_ //empty folder\r\n\r\n```javascript\r\ngulp.task('ziptest', function () {\r\n    return gulp.src('zip_test/**')\r\n        .pipe(ziptest('archive.zip'))\r\n        .pipe(gulp.dest(''));\r\n});\r\n```\r\nAs a result I have archive.zip with all folders except _/folder2_\r\n\r\nTest environment:\r\n1) Windows 8.1\r\n2) \"gulp\": \"^3.8.10\"\r\n3) \"gulp-zip\": \"^2.0.3\"\r\n4) node -v v0.12.0\r\n"},"comment":{"url":"https://api.github.com/repos/sindresorhus/gulp-zip/issues/comments/78457890","html_url":"https://github.com/sindresorhus/gulp-zip/issues/44#issuecomment-78457890","issue_url":"https://api.github.com/repos/sindresorhus/gulp-zip/issues/44","id":78457890,"user":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars.githubusercontent.com/u/170270?v=3","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"created_at":"2015-03-12T10:46:47Z","updated_at":"2015-03-12T10:46:47Z","body":"Done in https://github.com/sindresorhus/gulp-zip/commit/1239836bbae8f0961776406e5f55072ebb51d1c8\r\n\r\nStill needs a test. I don't have time to do that right now. So if you want it published, PR welcome for a test ;)"}}