Repository navigation
Use repository's name when possible instead of local directory name - #1781
danielkalen wants to merge 2 commits into
Conversation
shiftkey
left a comment
There was a problem hiding this comment.
Thanks for kicking this off @danielkalen!
I'd like to see some tests in here so we can capture the impact of this change for posterity - if you're not sure where to start, I can give some pointers - and I need to think more about other areas to look at as part of assessing the impact of this change, but this approach is a good start 🤘
|
|
||
| public get name(): string { | ||
| return path.basename(this.path) | ||
| const repoName = this.gitHubRepository && this.gitHubRepository.name |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
Since I accidentaly messed up the commits across the branches in this fork I created a new branch, applied the requested changes, and created a new PR here #1801 I'm afraid I will need some pointers on where to start with the tests as this project is relatively massive and I'm no TypeScript expert... Analyzing the project's test suite on my own in attempt to figure it out will take me a lot of time. |
@danielkalen 👍 I'll carve out some time early next week for this and see if I can turn it into some proper documentation for the project. |
@danielkalen for future reference, if things get really bad with a branch on your fork you can just force-push ( |
@shiftkey sounds great! I'll be awaiting your feedback. If you find your self spending too much time on this I won't mind dealing with a very quick rundown on where to start with the test suites.
Hmm... well the issue for me wasn't really to push to remote after rebasing, but rather the issue was avoiding a merge that git was forcing me to perform which I wasn't able to get past - therefore I created a new branch. As for this PR I noticed that I accidentally used the master branch of the fork instead of a dedicated branch. |
Addresses #1701 and #664