Skip to content

Commit

Permalink
Do not require README_INCLUDES to be defined (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuru authored Jan 30, 2024
1 parent 47113f4 commit 85d88cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md.gotmpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- defineDatasource "config" .Env.README_YAML | regexp.Replace ".*" "" -}}
{{- defineDatasource "includes" .Env.README_INCLUDES | regexp.Replace ".*" "" -}}
{{- defineDatasource "config" .Env.README_YAML -}}
{{- defineDatasource "includes" (env.Getenv "README_INCLUDES") -}}
{{- $deprecated := has (ds "config") "deprecated" }}
<!-- markdownlint-disable -->
{{- if $deprecated }}
Expand Down

0 comments on commit 85d88cb

Please sign in to comment.