Skip to content

Commit 13228ae

Browse files
Fix additional linting violations
For some reason #1175 passed, but CI for #1174 is failing.
1 parent ec2e811 commit 13228ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/suspenders/generators.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def raise_if_database_unsupported
6565

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

7171
adapter != "postgresql"

0 commit comments

Comments
 (0)