Skip to content

Commit

Permalink
rubocop: autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Oct 25, 2020
1 parent 32135e9 commit 1f96aa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/classes/init_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@
# TODO: This should be generated with something like `lookup('yum::repos').keys`,
# but the setup for `Puppet::Pops::Lookup` is to complicated to be worth it as of
# this writing (2017-04-11). For now, we just pull from `repos.yaml`.
repos_yaml_data = YAML.load(File.read('./spec/fixtures/modules/yum/data/repos.yaml'))
repos_yaml_data = YAML.safe_load(File.read('./spec/fixtures/modules/yum/data/repos.yaml'))
supported_repos = repos_yaml_data['yum::repos'].keys

supported_repos.each do |supported_repo|
Expand Down

0 comments on commit 1f96aa5

Please sign in to comment.