diff --git a/gulp-src/lint-md.js b/gulp-src/lint-md.js index 65f8e21c89d2..c3fadc25904f 100644 --- a/gulp-src/lint-md.js +++ b/gulp-src/lint-md.js @@ -10,7 +10,7 @@ const defaultGlob = '**/*.md'; const markdownFiles = [ '!.github/**', '!content-modules/**', - '!examples/go/**', + '!examples/**', '!layouts/**', '!node_modules/**', '!scripts/registry-scanner/node_modules/**', @@ -132,6 +132,13 @@ function applyFixesToFileContent(content, issue) { return lines.join('\n'); } +function logFiles() { + return through2.obj(function (file, enc, cb) { + console.log('Processing file:', file.path); + cb(null, file); + }); +} + function lintMarkdown() { const argv = taskArgs().options({ glob: { @@ -155,6 +162,7 @@ function lintMarkdown() { return gulp .src([argv.glob, ...markdownFiles], { followSymlinks: false }) + .pipe(logFiles()) .pipe(through2.obj(markdownLintFile)) .on('end', () => { const fileOrFiles = 'file' + (numFilesProcessed == 1 ? '' : 's');