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

Improve branch getter function #4193

Merged
merged 8 commits into from
Apr 3, 2021
Merged

Improve branch getter function #4193

merged 8 commits into from
Apr 3, 2021

Conversation

fregante
Copy link
Member

@fregante fregante commented Apr 3, 2021

Related to #4187
Follows #4190

Fixes #4178
Fixes #4179

  • Test
  • Close all issues that are fixed by it

Tests

Most of these are features that depend on GitHubURL

And more

@fregante fregante added the bug label Apr 3, 2021
@fregante fregante marked this pull request as draft April 3, 2021 06:12
t.is(getCurrentCommittish(
'/typescript-eslint/typescript-eslint/commits/chore/lerna-4/docs/getting-started/README.md',
'History for docs/getting-started/README.md - typescript-eslint/typescript-eslint'
), 'chore'); // Wrong, but
Copy link
Member Author

Choose a reason for hiding this comment

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

Needs to be fixed separately

t.is(getCurrentCommittish(
'/typescript-eslint/typescript-eslint',
'typescript-eslint/typescript-eslint: Monorepo for all the tooling which enables ESLint to support TypeScript'
), undefined);
Copy link
Member Author

Choose a reason for hiding this comment

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

Could be fixed separately.

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