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

Drop dependency on abbrev #1866

Merged
merged 1 commit into from
Jun 6, 2024
Merged

Drop dependency on abbrev #1866

merged 1 commit into from
Jun 6, 2024

Conversation

Earlopain
Copy link
Contributor

Pulling in something extra just for this seems pretty wasteful in my opinion

Pulling in something extra just for this seems pretty wasteful
case subcommand
when 'install'
case args[0]
when 'install', 'instal', 'insta', 'inst', 'ins', 'in', 'i'
Copy link
Contributor

Choose a reason for hiding this comment

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

'install'.start_with? args[0]? ε:

@soutaro
Copy link
Member

soutaro commented Jun 6, 2024

I'm open to this change. It implements the same feature after dropping abbrev.
Just curious if there is some real problem installing the library?

@Earlopain
Copy link
Contributor Author

No real problem, I just like having a small dependency tree if possible. Abbrev isn't buildin anymore, if it did something more complicated there could be an argument for it but it really isn't doing much as it is used here.

@soutaro soutaro added this to the RBS 3.5 milestone Jun 6, 2024
Copy link
Member

@soutaro soutaro left a comment

Choose a reason for hiding this comment

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

👍

@soutaro soutaro added this pull request to the merge queue Jun 6, 2024
Merged via the queue into ruby:master with commit 82df1eb Jun 6, 2024
16 of 18 checks passed
@soutaro soutaro added the Released PRs already included in the released version label Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Released PRs already included in the released version
Development

Successfully merging this pull request may close these issues.

3 participants