diff --git a/scripts/check-site.js b/scripts/check-site.js index b5943c34d2..bed4c27ccf 100755 --- a/scripts/check-site.js +++ b/scripts/check-site.js @@ -9,7 +9,7 @@ const { createServer } = require('http-server'); const components = uniq( glob - .sync('components/!(overview)/*.md', { + .globSync('components/!(overview)/*.md', { cwd: join(process.cwd()), dot: false, })