Skip to content

Commit

Permalink
Fix additional linting violations (#1176)
Browse files Browse the repository at this point in the history
For some reason #1175 passed, but CI for #1174 is failing.
  • Loading branch information
stevepolitodesign committed May 10, 2024
1 parent 3ba10a6 commit c04d012
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/suspenders/generators.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def raise_if_database_unsupported

def database_unsupported?
configuration = File.read(Rails.root.join("config/database.yml"))
configuration = YAML.load(configuration, aliases: true)
configuration = YAML.safe_load(configuration, aliases: true)
adapter = configuration["default"]["adapter"]

adapter != "postgresql"
Expand Down

0 comments on commit c04d012

Please sign in to comment.