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

CreateZip_VerifyFileLastModified fails if temp folder is empty #3

Open
oznetmaster opened this issue May 27, 2019 · 1 comment
Open

Comments

@oznetmaster
Copy link

String[] candidateFileNames = Directory.GetFiles(envTemp);

If the temp folder is empty, then this test throws an IndexOutOfRangeException.

There is no guarantee that the temp folder will have things in it.

If it is empty, then the test should find files elsewhere.

@peter-dolkens
Copy link

I recommend checking https://github.com/haf/DotNetZip.Semverd as it appears this project is simply a snapshot, whilst the other project has full history, and at least a minimal amount of maintenance.

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

2 participants