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

Files in newly created folders are not checked #21

Open
jdmota opened this issue Jan 1, 2018 · 0 comments
Open

Files in newly created folders are not checked #21

jdmota opened this issue Jan 1, 2018 · 0 comments

Comments

@jdmota
Copy link

jdmota commented Jan 1, 2018

function collectFilenamesInGitRepo (info) {
var filenames = []
if (info.A) {
filenames = filenames.concat(info.A.map(getName))
}
if (info.M) {
filenames = filenames.concat(info.M.map(getName))
}
if (info.C) {
filenames = filenames.concat(info.C.map(getName))
}
return filenames
}

It seems that info["??"] can also exist, and it is not handled at the moment.

It includes newly created folders that are not yet in git history.

I suspect this is a bug? Because some files can pass without being checked.

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

No branches or pull requests

1 participant