fix hygiene script

This commit is contained in:
Joao Moreno
2017-10-24 10:55:40 +02:00
parent c1038fa49c
commit 3ace2f4c8d

View File

@@ -236,7 +236,7 @@ const hygiene = exports.hygiene = (some, options) => {
this.emit('data', file);
});
const result = vfs.src(some || all, { base: '.', follow: true })
const result = vfs.src(some || all, { base: '.', follow: true, allowEmpty: true })
.pipe(filter(f => !f.stat.isDirectory()))
.pipe(filter(eolFilter))
.pipe(options.skipEOL ? es.through() : eol)