Skip to content

Commit

Permalink
Retire configuration function for now (︶︹︺)
Browse files Browse the repository at this point in the history
  • Loading branch information
regisphilibert committed Dec 30, 2021
1 parent e57d192 commit 443104a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/config/Get.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
*/}}
{{ $config := dict }}
{{ $dir := "_huge/config" }}

{{ with resources.GetMatch (printf "/%s/%s.*" $dir $) }}
{{ with .Content }}
{{ $config = . | transform.Unmarshal }}
{{ end }}
{{/* For now root config of a feature will always be a Map. We therefor process it as a Map */}}
{{ $config = partialCached "huge/config/private/process/map" $config $config }}
{{ end }}

{{ return $config }}

0 comments on commit 443104a

Please sign in to comment.