When building a theme that has the letter 'e' as the last letter before appending '-theme' the _.trimRight method used here will remove that last 'e'. This causes issues when trying to reference the theme from a sitemap.json. I've opened this pr as a potential fix to ensuring that only the '-theme' is removed from the theme id string. Thanks!
Hey guys,
When building a theme that has the letter 'e' as the last letter before appending '-theme' the
_.trimRight
method used here will remove that last 'e'. This causes issues when trying to reference the theme from a sitemap.json. I've opened this pr as a potential fix to ensuring that only the '-theme' is removed from the theme id string. Thanks!https://github.com/liferay/liferay-theme-tasks/pull/20