Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Cloudflare system folder "functions" to the hard coded IGNORE list #204

Closed
goblinfactory opened this issue Feb 15, 2024 · 0 comments · Fixed by #205
Closed

Add Cloudflare system folder "functions" to the hard coded IGNORE list #204

goblinfactory opened this issue Feb 15, 2024 · 0 comments · Fixed by #205

Comments

@goblinfactory
Copy link
Contributor

Add Cloudflare system folder "functions" to the hard coded IGNORE list

Rationale

Impact

  • Expected changes are simply adding "functions" to const IGNORE and update tests.

const IGNORE = ['node_modules', 'package.json', 'bun.lockb', 'pnpm-lock.yaml']
function ignore(name='') {
return '._'.includes(name[0]) || IGNORE.includes(name)
}
function isLegit(file) {
return !ignore(file.name) && !ignore(file.dir)
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant