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

Only run spring stop in install generator if spring is available #3999

Merged

Conversation

Noah-Silvera
Copy link
Contributor

@Noah-Silvera Noah-Silvera commented Mar 17, 2021

Description

The spring stop command in the install generator was being run even if spring is not installed. This command was causing the install generator to report an error.

We should only run this command if Spring is available.

Checklist:

  • I have followed Pull Request guidelines
  • I have added a detailed description into each commit message
  • I have updated Guides and README accordingly to this change (if needed)
  • [?] I have added tests to cover this change (if needed)
  • I have attached screenshots to this PR for visual changes (if needed)

The `spring stop` command in the install generator was being run even
if spring is not installed. We should only run this command if Spring
is available.

Co-authored-by: Mike Conlin <[email protected]>
@Noah-Silvera Noah-Silvera changed the title Only run spring stop if available Only run spring stop in install generator if available Mar 17, 2021
@Noah-Silvera Noah-Silvera changed the title Only run spring stop in install generator if available Only run spring stop in install generator if spring is available Mar 17, 2021
@Noah-Silvera
Copy link
Contributor Author

I'm not sure if this change needs tests - no tests for the install_generator currently exist.

@kennyadsl
Copy link
Member

Thanks, this was so annoying!

Copy link
Member

@spaghetticode spaghetticode left a comment

Choose a reason for hiding this comment

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

@Noah-Silvera thank you 👍

@kennyadsl kennyadsl added this to the 2.11 milestone Apr 1, 2021
@kennyadsl kennyadsl merged commit e878076 into solidusio:master Apr 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants