From 4ac0828ce1ca7bbacb2b8d73c60363b1d80b67ef Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Sat, 8 Jun 2024 06:20:54 -0400 Subject: [PATCH] Update lint-md.js --- gulp-src/lint-md.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gulp-src/lint-md.js b/gulp-src/lint-md.js index 0ce4185295d5..65f8e21c89d2 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/**', + '!examples/go/**', '!layouts/**', '!node_modules/**', '!scripts/registry-scanner/node_modules/**', @@ -154,7 +154,7 @@ function lintMarkdown() { fix = argv.fix; return gulp - .src([argv.glob, ...markdownFiles]) + .src([argv.glob, ...markdownFiles], { followSymlinks: false }) .pipe(through2.obj(markdownLintFile)) .on('end', () => { const fileOrFiles = 'file' + (numFilesProcessed == 1 ? '' : 's');