ignore rust code when doing hygenie check

pull/161268/head
Connor Peet 2022-09-20 08:49:29 -07:00
parent 3762635fe1
commit a9e38fe925
No known key found for this signature in database
GPG Key ID: CF8FD2EA0DBC61BD
2 changed files with 3 additions and 1 deletions

1
.gitignore vendored
View File

@ -15,3 +15,4 @@ yarn-error.log
vscode.lsif
vscode.db
/.profile-oss
/cli/target

View File

@ -10,6 +10,7 @@ const vfs = require('vinyl-fs');
const path = require('path');
const fs = require('fs');
const pall = require('p-all');
const { all, copyrightFilter, unicodeFilter, indentationFilter, tsFormattingFilter, eslintFilter } = require('./filters');
const copyrightHeaderLines = [
@ -291,7 +292,7 @@ if (require.main === module) {
.then(
(vinyls) =>
new Promise((c, e) =>
hygiene(es.readArray(vinyls))
hygiene(es.readArray(vinyls).pipe(filter(all)))
.on('end', () => c())
.on('error', e)
)