Skip to content

Commit

Permalink
Skip coverage on config_yaml method
Browse files Browse the repository at this point in the history
  • Loading branch information
eliotjordan committed Feb 14, 2024
1 parent 1d635f9 commit e1a8207
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/geoserver/publish/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ def config

private

# :nocov:
def config_yaml
file_path = File.join(Geoserver::Publish.root, "config", "config.yml")
YAML.safe_load(ERB.new(File.read(file_path)).result, [], [], true)
end
# :nocov:

module_function :config, :config_yaml
end
Expand Down

0 comments on commit e1a8207

Please sign in to comment.