Skip to content

Commit

Permalink
exclude .git/
Browse files Browse the repository at this point in the history
  • Loading branch information
athul2037 committed Jul 28, 2024
1 parent 7d269bc commit 1c533b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/check.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const path = require('path');

function checkDirectories() {
const directories = fs.readdirSync('.').filter(file =>
fs.statSync(file).isDirectory() && file !== '.github'
fs.statSync(file).isDirectory() && file !== '.github' && file !== '.git'
);

for (const dir of directories) {
Expand Down

0 comments on commit 1c533b1

Please sign in to comment.