提交 f0805c28 编写于 作者: J Joao Moreno

fix hygiene

上级 3e78859e
......@@ -160,7 +160,7 @@ var hygiene = exports.hygiene = function (some) {
this.emit('data', file);
});
var tslint = es.through(function(file) {
var tsl = es.through(function(file) {
configuration = tslint.findConfiguration(null, '.');
var options = {
formatter: 'json',
......@@ -186,7 +186,7 @@ var hygiene = exports.hygiene = function (some) {
.pipe(filter(copyrightFilter))
.pipe(copyrights)
.pipe(filter(tslintFilter))
.pipe(tslint)
.pipe(tsl)
.pipe(es.through(null, function () {
if (errorCount > 0) {
this.emit('error', 'Hygiene failed with ' + errorCount + ' errors. Check \'build/gulpfile.hygiene.js\'.');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册