Skip to content

Conversation

@DanAlbert
Copy link
Member

Some file browsers helpfully create extra hidden files in any
directory they view. It may have been better to just ignore anything
without a module.json, but #106
made module.json optional, so technically any directory is a valid
module now and we need a new schema revision to change that behavior.
We could alternatively add an explicit module list to prefab.json, but
that would also require a new schema revision.

For now, just ignore all files (fixes the .DS_Store case) and any
hidden directories (just in case).

Some file browsers helpfully create extra hidden files in any
directory they view. It may have been better to just ignore anything
without a module.json, but google#106
made module.json optional, so technically any directory is a valid
module now and we need a new schema revision to change that behavior.
We could alternatively add an explicit module list to prefab.json, but
that would also require a new schema revision.

For now, just ignore all files (fixes the .DS_Store case) and any
hidden directories (just in case).
@DanAlbert DanAlbert requested a review from enh-google August 21, 2020 23:09
@DanAlbert DanAlbert merged commit 6b0eefb into google:master Sep 14, 2020
@DanAlbert DanAlbert deleted the skip-bogus-files branch September 14, 2020 23:42
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 this pull request may close these issues.

2 participants