Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix to let branch can contain slash #57

Merged
merged 2 commits into from
Jun 11, 2021

Conversation

adaam
Copy link
Contributor

@adaam adaam commented Jun 10, 2021

I meet a problem when I use this script to sync files with branch name with slash.
I think it does not need to split with slash when parsing branch.
But I'm not a javascript expert, just found it will work when branch name with slash.
Please help to review if it makes sense.

@BetaHuhn BetaHuhn self-assigned this Jun 10, 2021
@BetaHuhn BetaHuhn added bug Something isn't working and removed bug Something isn't working labels Jun 10, 2021
src/config.js Outdated Show resolved Hide resolved
@BetaHuhn
Copy link
Owner

BetaHuhn commented Jun 10, 2021

Hey @adaam,

Thanks for taking the time to create this PR! Syncing a branch with a / is totally a valid use case which I oversaw when writing the code.

If you could remove the added newline at the end, that would be great. After that I will merge it!

@adaam
Copy link
Contributor Author

adaam commented Jun 11, 2021

Newline in two files are removed.

@BetaHuhn BetaHuhn changed the base branch from master to develop June 11, 2021 09:28
@BetaHuhn BetaHuhn merged commit 6e6698c into BetaHuhn:develop Jun 11, 2021
@BetaHuhnBot
Copy link
Collaborator

🎉 This PR is included in version 1.8.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@BetaHuhn
Copy link
Owner

Thanks!

@adaam adaam deleted the fix/branch_with_slash branch June 12, 2021 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants