Skip to content

Commit

Permalink
Condense suspenders_main block
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-antonopoulos committed Oct 8, 2024
1 parent 2a13a8a commit b3e2c18
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions lib/install/web.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,10 @@ def apply_template!
end
if options[:database] == "postgresql" && options[:skip_test] && options[:skip_rubocop]
after_bundle do
if ARGV.include?("--suspenders_main")
gem_group :development, :test do
gem_group :development, :test do
if ARGV.include?("--suspenders_main")
gem "suspenders", github: "thoughtbot/suspenders", branch: "main"
end
else
gem_group :development, :test do
else
gem "suspenders"
end
end
Expand Down

0 comments on commit b3e2c18

Please sign in to comment.