Skip to content

Commit 1089f1a

Browse files
committed
Only verify latest snippets
1 parent 367a548 commit 1089f1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/test-examples.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ fs.writeFileSync(tempFileName, '')
5454

5555
let success = true
5656

57-
glob.sync(__dirname + '/../pages/**/*.mdx').forEach((file) => {
57+
glob.sync(__dirname + '/../pages/{apis/latest,docs/manual/latest}/**/*.mdx').forEach((file) => {
5858
let content = fs.readFileSync(file, {encoding: 'utf-8'})
5959
let parsedResult = parseFile(content)
6060
if (parsedResult != null) {

0 commit comments

Comments
 (0)