add filter for git hook on hygiene (#8396)

This commit is contained in:
Anthony Dresser
2019-11-21 13:00:20 -08:00
committed by GitHub
parent 7b31ee27d8
commit ec91d3eda0

View File

@@ -583,7 +583,7 @@ if (require.main === module) {
console.log('Reading git index versions...');
createGitIndexVinyls(some)
.then(vinyls => new Promise((c, e) => hygiene(es.readArray(vinyls))
.then(vinyls => new Promise((c, e) => hygiene(es.readArray(vinyls).pipe(filter(all))) // {{SQL CARBON EDIT}} filter committed files
.on('end', () => c())
.on('error', e)))
.catch(err => {