Skip to content

Commit

Permalink
Merge pull request #3999 from Noah-Silvera/only-run-stop-spring-if-av…
Browse files Browse the repository at this point in the history
…ailable

Only run spring stop in install generator if spring is available
  • Loading branch information
kennyadsl authored Apr 1, 2021
2 parents 1856bf4 + 98e9b10 commit e878076
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lib/generators/solidus/install/install_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def run_bundle_install_if_needed_by_plugins
end

bundle_cleanly{ run "bundle install" } if @plugins_to_be_installed.any?
run "spring stop"
run "spring stop" if defined?(Spring)

@plugin_generators_to_run.each do |plugin_generator_name|
generate "#{plugin_generator_name} --skip_migrations=true"
Expand Down

0 comments on commit e878076

Please sign in to comment.