Skip to content

Incorrect category name due to double colon in Build Process #118

Description

@Hugoer

Description

When running the build process, the category name is incorrectly generated with a double period (..).

Issue Details

  • Given the folder structure: js/cookiebar/check
  • The build process removes certain text using the regex: /js|scss|clientlibs|bundle/gi
  • This results in the name: .cookiebar.check
  • The final category, using the projectKey (wwwb), becomes: wwwb..cookiebar.check

Expected Behavior

The category should not contain consecutive periods.

Steps to Reproduce

  1. Place a file inside js/cookiebar/check
  2. Run the build process
  3. Observe that the category name has an extra period (..)

Metadata

Metadata

Assignees

Labels

RefactorbugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions