Open shawninder opened 8 years ago
Otherwise the resulting branch will be wrong.
Example: If a branch name is feature/cure-cancer, the packer will get something like health/feature/cure-cancer and split it on / (https://github.com/vigour-io/packer-server/blob/a7879fc196417825fde0b95534e59ad9b8525d76/lib/index.js#L22), assigning the first part to repo and the second part to branch, losing the third part. So you get:
feature/cure-cancer
health/feature/cure-cancer
/
repo
branch
Notice the branch is wrong (should be feature/cure-cancer). This is what needs to be fixed.
Otherwise the resulting branch will be wrong.
Example: If a branch name is
feature/cure-cancer
, the packer will get something likehealth/feature/cure-cancer
and split it on/
(https://github.com/vigour-io/packer-server/blob/a7879fc196417825fde0b95534e59ad9b8525d76/lib/index.js#L22), assigning the first part torepo
and the second part tobranch
, losing the third part. So you get:Notice the branch is wrong (should be feature/cure-cancer). This is what needs to be fixed.