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

Copying empty files at stub generation #59

Closed
baobabKoodaa opened this issue Jan 29, 2016 · 2 comments
Closed

Copying empty files at stub generation #59

baobabKoodaa opened this issue Jan 29, 2016 · 2 comments

Comments

@baobabKoodaa
Copy link
Contributor

When producing a stub, Filer doesn't...
...copy empty files (documented in source code)
...copy folders, unless the folder/its subfolders contain non empty files (not documented)

Is this functionality desired? If it serves a purpose, then maybe keep it this way. We just noticed that one of our assignments in the Introduction to Algorithms course broke with the latest TMC update. Many students spent time wondering why their perfectly working code isn't passing local tests. The assignment is about reading file names in sub directories recursively. We fixed our project by inserting something into all the empty files used in testing and it works for us now.

@jamo
Copy link
Member

jamo commented Jan 30, 2016

Empty folders are and should be ignored (just like git)
Behaviour for empty files, however, changed, and is now more like what it was earlier.

@jamo
Copy link
Member

jamo commented Jan 30, 2016

Fixed by 9d63cd5

@jamo jamo closed this as completed Jan 30, 2016
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