mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-17 12:10:22 -05:00
fix hygiene script
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user