Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Add check for already installed plugin #6978

Merged
1 commit merged into from
Mar 3, 2019
Merged

Conversation

ankitkataria
Copy link
Contributor

What was the end-user problem that led to this PR?

Fixes #6946

What was your diagnosis of the problem?

There was no check to ensure that the plugin was already installed or not.

What is your fix for the problem, implemented in this PR?

I added the check here
I also added a small test for the same

Copy link
Member

@deivid-rodriguez deivid-rodriguez left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@ankitkataria
Copy link
Contributor Author

@deivid-rodriguez Is there any more work required in this pr? Can this be merged? 😅

@deivid-rodriguez
Copy link
Member

Sorry, I forgot about this! No more feedback, so merging, yeah!

@bundlerbot r+

ghost pushed a commit that referenced this pull request Mar 3, 2019
6978: Add check for already installed plugin r=deivid-rodriguez a=ankitkataria

### What was the end-user problem that led to this PR?

Fixes #6946 

### What was your diagnosis of the problem?

There was no check to ensure that the plugin was already installed or not. 

### What is your fix for the problem, implemented in this PR?

I added the check [here](https://github.com/bundler/bundler/compare/master...ankitkataria:plugin-fix?expand=1#diff-68bd939cd3589d8fdda08a12433659ebR109)
I also added a small test for the same


Co-authored-by: Ankit Kataria <[email protected]>
@ghost
Copy link

ghost commented Mar 3, 2019

Build succeeded

@ghost ghost merged commit a0b91e3 into rubygems:master Mar 3, 2019
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Plugins are installed every time a command is run
2 participants