Skip to content

jQuery UI Themes Packer: Remove basedir from manifest paths, with optional slash#203

Closed
jzaefferer wants to merge 1 commit intojquery:masterfrom
jzaefferer:themes-packer-manifest
Closed

jQuery UI Themes Packer: Remove basedir from manifest paths, with optional slash#203
jzaefferer wants to merge 1 commit intojquery:masterfrom
jzaefferer:themes-packer-manifest

Conversation

@jzaefferer
Copy link
Member

This works when basedir is set to "" (empty string), where removing the
first segment actually destroys all paths. Tested with jQuery UI's release
script.

This also works with the default, tested using the build-packages grunt task.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't basedir be escape if it's passed to new RegExp()?

…ional slash

This works when basedir is set to "" (empty string), where removing the
first segment actually destroys all paths. Tested with jQuery UI's release
script.

This also works with the default, tested using the build-packages grunt task.
@jzaefferer
Copy link
Member Author

Updated to slide of the basedir at the start, with the optional slash separately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants