We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f4caddc + dbc89da commit 088a953Copy full SHA for 088a953
lib/generators/dockerfile_generator.rb
@@ -1600,7 +1600,7 @@ def fly_make_toml
1600
def fix_database_config
1601
yaml = IO.read("config/database.yml")
1602
1603
- production = YAML.load(yaml, aliases: true)["production"]
+ production = YAML.load(yaml, aliases: true)["production"] rescue nil
1604
return unless production.is_a?(Hash) && production.values.all?(Hash)
1605
return if production.keys == [ "primary" ]
1606
0 commit comments