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');