Skip to content

massCreateModules breaks with . directories #4866

Closed
@christianalfoni

Description

To reproduce:

  1. Fork the following repo: https://github.com/AJ-7885/WebChannel
  2. Load the repo on Codesandbox, fork it and link it
  3. Add a new file to .github/workflows/someFile.someExtension
  4. Refresh sandbox and do a sync

You will get an error about "title alread used" or similar. This is related to our denormalize logic used by massCreateModules. In this picture you see what happens:

Screenshot 2020-09-09 at 09 38 27

For some reason our denormalize is passing in the workflows folder, but it should not do that. It should look more like this, here with a normal folder:

Screenshot 2020-09-09 at 09 41 32

You find the denormalize file within codesandbox-import-utils.

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions