Failure to deploy if referrer doesn't point directly to the repo
wadewegner opened this issue · comments
Wade Wegner commented
Repro:
- Open URL: https://github.com/wadewegner/sfdx-simple/blob/master/README.md
- Click "Deploy to SFDX"
- Login.
- Deploy.
Notice the /blob/master/README.md
.
Error:
Two options:
- Remove extra info immediately before logging in.
- Update the deployment script to find the repo instead of using the whole referrer.
I'd prefer #1. Makes it less confusing.
Wade Wegner commented
Doesn't feel like I should hardcode a instead I'll throw the error better