93c96cf6fa
To match discourse_theme CLI behavior, we should skip hidden files/directories (e.g. `.git`), and two regular directories: `node_modules/` and `src/`. Without these excludes, it's very easy for a theme to hit the file count limit. e.g. when trying this with discourse-kanban-board, I got: > The number of files (20366) in the theme has exceeded the maximum allowed number of files (1024) |
||
---|---|---|
.. | ||
base_importer.rb | ||
directory_importer.rb | ||
git_importer.rb | ||
zip_exporter.rb | ||
zip_importer.rb |